@davoodmehraban89 / Factor-easy / commits / 79edd90
Fork 0

سامانه صدور فاکتور و حسابداری

test(auth): preserve email-or-phone identity validation on updated bootstrap

davoodmehraban89 committed Oct 12, 2026 at 11:15 UTC 79edd90319d521b6304ef6b5d0a86f69fae6adf8
1 file changed +1 -1
supabase/tests/identity_wave5a_behavior.sql
+1 -1
@@ -14,6 +14,6 @@ begin
14 begin
15 insert into auth.users(id,email,raw_user_meta_data) values('22222222-2222-2222-2222-222222222222',null,'{}'::jsonb);
16 raise exception 'email-less signup unexpectedly succeeded';
17 - exception when others then if position('requires an email identity' in sqlerrm)=0 then raise;end if;end;
17 + exception when others then if position('requires an email or phone identity' in sqlerrm)=0 then raise;end if;end;
18 if exists(select 1 from public.profiles where id='22222222-2222-2222-2222-222222222222') then raise exception 'failed signup left partial profile state';end if;
19 end $$;