Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Dec 25, 2024
1 parent 594bb7b commit 537836b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ describe('currentOperation tests', () => {
model User {
id Int @id
@@allow('read', true)
@@allow('create', currentOperation('capitalize') == 'create')
@@allow('create', currentOperation('uncapitalize') == 'create')
}
model Post {
id Int @id
@@allow('read', true)
@@allow('create', currentOperation('capitalize') == 'read')
@@allow('create', currentOperation('uncapitalize') == 'read')
}
`
);
Expand Down

0 comments on commit 537836b

Please sign in to comment.