Skip to content

Commit

Permalink
feat: update e2e code
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mackessy committed Nov 27, 2023
1 parent 02912c8 commit 1da0fd7
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,13 +551,11 @@ void testPutEntry_EntryDoesNotExistWithRestrictedProtectionAndUserHasNoPermissio

private void setUpNamespaceProtection(
String namespace, ProtectionType readWrite, String... authorities) {
service.addProtection(
new DatastoreNamespaceProtection(namespace, readWrite, false, authorities));
service.addProtection(new DatastoreNamespaceProtection(namespace, readWrite, authorities));
}

private void setUpNamespaceProtectionWithSharing(
String namespace, ProtectionType readWrite, String... authorities) {
service.addProtection(
new DatastoreNamespaceProtection(namespace, readWrite, true, authorities));
service.addProtection(new DatastoreNamespaceProtection(namespace, readWrite, authorities));
}
}

0 comments on commit 1da0fd7

Please sign in to comment.