Verify seed users and change AppleCar password (#11825)
isEmailVerified was set to false which was annoying in the staging environment Also updated password for tim@apple.dev from AppleCar2025 to just tim@apple.dev since the joke is outdated
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import { RecoilRoot, useSetRecoilState } from 'recoil';
|
||||
import { renderHook } from '@testing-library/react';
|
||||
import { useSignInUpForm } from '@/auth/sign-in-up/hooks/useSignInUpForm';
|
||||
import { isDeveloperDefaultSignInPrefilledState } from '@/client-config/states/isDeveloperDefaultSignInPrefilledState';
|
||||
import { renderHook } from '@testing-library/react';
|
||||
import { ReactNode } from 'react';
|
||||
import { MemoryRouter } from 'react-router-dom';
|
||||
import { isDeveloperDefaultSignInPrefilledState } from '@/client-config/states/isDeveloperDefaultSignInPrefilledState';
|
||||
import { RecoilRoot, useSetRecoilState } from 'recoil';
|
||||
|
||||
describe('useSignInUpForm', () => {
|
||||
beforeEach(() => {
|
||||
@ -61,7 +61,7 @@ describe('useSignInUpForm', () => {
|
||||
expect(result.current.form.getValues()).toEqual({
|
||||
exist: false,
|
||||
email: 'test@test.com',
|
||||
password: 'Applecar2025',
|
||||
password: 'tim@apple.dev',
|
||||
captchaToken: '',
|
||||
});
|
||||
});
|
||||
|
||||
@ -59,7 +59,7 @@ export const useSignInUpForm = () => {
|
||||
|
||||
if (isDeveloperDefaultSignInPrefilled === true) {
|
||||
form.setValue('email', prefilledEmail ?? 'tim@apple.dev');
|
||||
form.setValue('password', 'Applecar2025');
|
||||
form.setValue('password', 'tim@apple.dev');
|
||||
}
|
||||
}, [
|
||||
form,
|
||||
|
||||
Reference in New Issue
Block a user