spec update test

This commit is contained in:
Timo Bejan 2021-09-15 12:00:50 +03:00
parent e73565aa71
commit 5fb350847c

View File

@ -47,6 +47,7 @@ public class PlanSpec {
}
private PlanPermissions createPlanPermission(PlanIdentifier planIdentifier) {
Permissions permission = new Permissions()
.userPermissions("atlbamboo", PermissionType.EDIT, PermissionType.VIEW, PermissionType.ADMIN, PermissionType.CLONE, PermissionType.BUILD)
.groupPermissions("red-backend", PermissionType.EDIT, PermissionType.VIEW, PermissionType.CLONE, PermissionType.BUILD)
@ -56,6 +57,7 @@ public class PlanSpec {
}
private Project project() {
return new Project()
.name("RED")
.key(new BambooKey("RED"));