mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
#8771 fix get all to return links
add permissionRead and permissionWrite permissions
This commit is contained in:
@@ -81,7 +81,7 @@ public class TestData {
|
||||
public static List<Object> getUserPermissions(String username, String password, String repositoryType) {
|
||||
return callUserPermissions(username, password, repositoryType, HttpStatus.SC_OK)
|
||||
.extract()
|
||||
.body().jsonPath().getList("");
|
||||
.body().jsonPath().getList("_embedded.permissions");
|
||||
}
|
||||
|
||||
public static ValidatableResponse callUserPermissions(String username, String password, String repositoryType, int expectedStatusCode) {
|
||||
|
||||
Reference in New Issue
Block a user