0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-03 21:48:55 -05:00

fix(test): remove legacy test

remove legacy test
This commit is contained in:
simeng-li 2024-08-06 13:36:01 +08:00
parent a3e55222fc
commit 457b153800
No known key found for this signature in database
GPG key ID: 14EA7BB1541E8075

View file

@ -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();