mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +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()
|
||||
.statusCode(HttpStatus.SC_OK)
|
||||
.extract()
|
||||
.path("files.find{it.name=='a.txt'}._links.content.href");
|
||||
.path("files.find{it.name=='a.txt'}._links.self.href");
|
||||
given()
|
||||
.when()
|
||||
.get(rootContentUrl)
|
||||
@@ -110,7 +110,7 @@ public class RepositoryAccessITCase {
|
||||
.then()
|
||||
.statusCode(HttpStatus.SC_OK)
|
||||
.extract()
|
||||
.path("files[0]._links.content.href");
|
||||
.path("files[0]._links.self.href");
|
||||
System.out.println(subfolderContentUrl);
|
||||
given()
|
||||
.when()
|
||||
|
||||
Reference in New Issue
Block a user