Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Feb 24, 2025
1 parent ee08e06 commit 8169379
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/regression/tests/issue-2000.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ describe('issue 2000', () => {
).toResolveTruthy();

// violating validation rules
await expect(
await db.user.update({ where: { username: 'admin' }, data: { active: true } })
).toBeRejectedByPolicy();
await expect(db.user.update({ where: { username: 'admin' }, data: { active: true } })).toBeRejectedByPolicy();
});
});

0 comments on commit 8169379

Please sign in to comment.