Skip to content

Commit

Permalink
fix(test): remove legacy test
Browse files Browse the repository at this point in the history
remove legacy test
  • Loading branch information
simeng-li committed Aug 6, 2024
1 parent a3e5522 commit 457b153
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,27 +94,6 @@ devFeatureTest.describe('password verifications', () => {
[username, 'userInfo'],
];

it('should throw error if password is not provided', async () => {
const { primaryEmail } = generateNewUserProfile({
primaryEmail: true,
});

const client = await initExperienceClient();

await expectRejects(
client.createNewPasswordIdentityVerification({
identifier: {
type: SignInIdentifier.Email,
value: primaryEmail,
},
}),
{
code: 'user.password_required_in_profile',
status: 422,
}
);
});

it.each(invalidPasswords)('should reject invalid password %p', async (password) => {
const client = await initExperienceClient();

Expand Down

0 comments on commit 457b153

Please sign in to comment.