Remove tags and branches from browse result and embed files

This commit is contained in:
René Pfeuffer
2018-09-05 15:17:49 +02:00
parent d7e319a856
commit e79041140f
7 changed files with 19 additions and 46 deletions

View File

@@ -97,7 +97,7 @@ public class RepositoryAccessITCase {
.then()
.statusCode(HttpStatus.SC_OK)
.extract()
.path("files.find{it.name=='a.txt'}._links.self.href");
.path("_embedded.files.find{it.name=='a.txt'}._links.self.href");
given()
.when()
@@ -112,7 +112,7 @@ public class RepositoryAccessITCase {
.then()
.statusCode(HttpStatus.SC_OK)
.extract()
.path("files.find{it.name=='subfolder'}._links.self.href");
.path("_embedded.files.find{it.name=='subfolder'}._links.self.href");
String selfOfSubfolderUrl = given()
.when()
.get(subfolderSourceUrl)
@@ -127,7 +127,7 @@ public class RepositoryAccessITCase {
.then()
.statusCode(HttpStatus.SC_OK)
.extract()
.path("files[0]._links.self.href");
.path("_embedded.files[0]._links.self.href");
given()
.when()
.get(subfolderContentUrl)