Skip to content

Commit

Permalink
test(applications): add conditions to access rules mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinperaza committed Nov 15, 2022
1 parent 4a2b7f6 commit 6d5fe29
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/applications.test.ts
Expand Up @@ -65,6 +65,13 @@ describe('Applications', () => {
'reveal',
]),
permissions: [chance.string()],
conditions: [
{
attribute: chance.string(),
operator: chance.string(),
value: chance.string(),
},
],
},
],
canCreateExpiringApplications: chance.bool(),
Expand All @@ -83,6 +90,7 @@ describe('Applications', () => {
'reveal',
]),
permissions: [chance.string()],
conditions: [],
},
],
},
Expand Down

0 comments on commit 6d5fe29

Please sign in to comment.