Skip to content

Commit

Permalink
adjust verify test
Browse files Browse the repository at this point in the history
  • Loading branch information
javtran committed Aug 19, 2024
1 parent 1f39382 commit e32f299
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/test/routes/api/v1/users.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -710,10 +710,7 @@ describe('/api/v1/users', () => {
where: { id: 'dab5dff3-360d-4dbb-98dd-1990dfb5c4c5' },
});
assert.ok(user);
assert.deepStrictEqual(
user.emailVerificationToken,
'be63f7ca-64c5-4eea-a1c0-4c81e7161fa4',
);
assert.deepStrictEqual(user.emailVerificationToken, null);

const date = new Date(user.emailVerifiedAt);
const today = new Date();
Expand Down

0 comments on commit e32f299

Please sign in to comment.