Fix integration test using self link instead of content link

This commit is contained in:
René Pfeuffer
2018-08-24 09:15:15 +02:00
parent 9775817269
commit 0642a4c8bc

View File

@@ -89,7 +89,7 @@ public class RepositoryAccessITCase {
.then() .then()
.statusCode(HttpStatus.SC_OK) .statusCode(HttpStatus.SC_OK)
.extract() .extract()
.path("files.find{it.name=='a.txt'}._links.content.href"); .path("files.find{it.name=='a.txt'}._links.self.href");
given() given()
.when() .when()
.get(rootContentUrl) .get(rootContentUrl)
@@ -110,7 +110,7 @@ public class RepositoryAccessITCase {
.then() .then()
.statusCode(HttpStatus.SC_OK) .statusCode(HttpStatus.SC_OK)
.extract() .extract()
.path("files[0]._links.content.href"); .path("files[0]._links.self.href");
System.out.println(subfolderContentUrl); System.out.println(subfolderContentUrl);
given() given()
.when() .when()