Skip to content
Permalink
Browse files
Added a use case from identity as test case.
  • Loading branch information
mifosio-04-04-2018 committed May 29, 2017
1 parent ea0a44d commit c6e6ba2ee735755d99bdd4c6e29568906c11ae48
Showing 1 changed file with 8 additions and 0 deletions.
@@ -214,6 +214,14 @@ public static Collection testCases() {
.allowedOperation(AllowedOperation.CHANGE)
.requestedOperation("POST")
.expectedResult(true));
ret.add(new TestCase("use case from identity")
.permittedPath("/applications/*/permissions/*/users/{useridentifier}/enabled")
.requestedPath("/applications/bop-v1/permissions/identity__v1__roles/users/Nebamun/enabled")
.acceptTokenIntendedForForeignApplication(false)
.calledApplication("identity-v1").forApplication("identity-v1")
.allowedOperation(AllowedOperation.CHANGE)
.requestedOperation("PUT")
.expectedResult(true));

return ret;
}

0 comments on commit c6e6ba2

Please sign in to comment.