Skip to content

Commit

Permalink
Fix formatting of new consistency test YAMLs
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschorr committed Jan 11, 2022
1 parent 15bba2e commit 9976930
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions internal/services/testconfigs/simplewildcard.yaml
Expand Up @@ -10,7 +10,7 @@ relationships: |
test/resource:first#viewer@test/user:concreteguy
assertions:
assertTrue:
- test/resource:first#viewer@test/user:concreteguy
- test/resource:first#viewer@test/user:anotheruser
- test/resource:first#viewer@test/user:aseconduser
- test/resource:first#viewer@test/user:athirduser
- "test/resource:first#viewer@test/user:concreteguy"
- "test/resource:first#viewer@test/user:anotheruser"
- "test/resource:first#viewer@test/user:aseconduser"
- "test/resource:first#viewer@test/user:athirduser"
26 changes: 13 additions & 13 deletions internal/services/testconfigs/wildcardnested.yaml
Expand Up @@ -16,20 +16,20 @@ relationships: |
test/resource:first#mustbehere@test/user:somegal
assertions:
assertTrue:
- test/resource:first#viewer@test/user:somegal
- test/resource:first#viewer@test/user:anotherperson
- test/resource:first#viewer@test/user:thirduser
- test/resource:first#viewer@test/user:bannedguy
- "test/resource:first#viewer@test/user:somegal"
- "test/resource:first#viewer@test/user:anotherperson"
- "test/resource:first#viewer@test/user:thirduser"
- "test/resource:first#viewer@test/user:bannedguy"

- test/resource:first#view@test/user:somegal
- test/resource:first#view@test/user:anotherperson
- test/resource:first#view@test/user:thirduser
- "test/resource:first#view@test/user:somegal"
- "test/resource:first#view@test/user:anotherperson"
- "test/resource:first#view@test/user:thirduser"

- test/resource:first#mustbehere@test/user:somegal
- test/resource:first#specialview@test/user:somegal
- "test/resource:first#mustbehere@test/user:somegal"
- "test/resource:first#specialview@test/user:somegal"
assertFalse:
- test/resource:first#view@test/user:bannedguy
- "test/resource:first#view@test/user:bannedguy"

- test/resource:first#specialview@test/user:bannedguy
- test/resource:first#specialview@test/user:anotherperson
- test/resource:first#specialview@test/user:thirduser
- "test/resource:first#specialview@test/user:bannedguy"
- "test/resource:first#specialview@test/user:anotherperson"
- "test/resource:first#specialview@test/user:thirduser"
6 changes: 3 additions & 3 deletions internal/services/testconfigs/wildcardwithintersection.yaml
Expand Up @@ -16,9 +16,9 @@ relationships: |
test/resource:second#viewer@test/user:*
assertions:
assertTrue:
- test/resource:first#view@test/user:somegal
- test/resource:second#view@test/user:editordude
- test/resource:second#view@test/user:seconduser
- "test/resource:first#view@test/user:somegal"
- "test/resource:second#view@test/user:editordude"
- "test/resource:second#view@test/user:seconduser"
assertFalse:
- "test/resource:first#view@test/user:editordude"
- "test/resource:first#view@test/user:anotheruser"
Expand Down
Expand Up @@ -16,8 +16,8 @@ relationships: |
test/resource:second#viewer@test/user:somegal
assertions:
assertTrue:
- test/resource:first#viewer@test/user:somegal
- test/resource:second#viewer@test/user:somegal
- "test/resource:first#viewer@test/user:somegal"
- "test/resource:second#viewer@test/user:somegal"
assertFalse:
- "test/resource:first#view@test/user:editordude"
- "test/resource:first#view@test/user:anotheruser"
Expand Down

0 comments on commit 9976930

Please sign in to comment.