mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
Fix integration test using self link instead of content link
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user