@@ -612,7 +612,7 @@ async def test_phone_registration_basic_workflow(
612612
613613 # REGISTER phone number
614614 new_phone = faker .phone_number ()
615- url = client .app .router ["my_profile_phone_register " ].url_for ()
615+ url = client .app .router ["my_phone_register " ].url_for ()
616616 resp = await client .post (
617617 f"{ url } " ,
618618 json = {
@@ -622,7 +622,7 @@ async def test_phone_registration_basic_workflow(
622622 await assert_status (resp , status .HTTP_202_ACCEPTED )
623623
624624 # CONFIRM phone registration
625- url = client .app .router ["my_profile_phone_confirm " ].url_for ()
625+ url = client .app .router ["my_phone_confirm " ].url_for ()
626626 resp = await client .post (
627627 f"{ url } " ,
628628 json = {
@@ -668,7 +668,7 @@ async def test_phone_registration_workflow(
668668
669669 # STEP 1: REGISTER phone number
670670 new_phone = faker .phone_number ()
671- url = client .app .router ["my_profile_phone_register " ].url_for ()
671+ url = client .app .router ["my_phone_register " ].url_for ()
672672 resp = await client .post (
673673 f"{ url } " ,
674674 json = {
@@ -678,7 +678,7 @@ async def test_phone_registration_workflow(
678678 await assert_status (resp , status .HTTP_202_ACCEPTED )
679679
680680 # STEP 2: CONFIRM phone registration
681- url = client .app .router ["my_profile_phone_confirm " ].url_for ()
681+ url = client .app .router ["my_phone_confirm " ].url_for ()
682682 resp = await client .post (
683683 f"{ url } " ,
684684 json = {
@@ -716,7 +716,7 @@ async def test_phone_registration_with_resend(
716716
717717 # STEP 1: REGISTER phone number
718718 new_phone = faker .phone_number ()
719- url = client .app .router ["my_profile_phone_register " ].url_for ()
719+ url = client .app .router ["my_phone_register " ].url_for ()
720720 resp = await client .post (
721721 f"{ url } " ,
722722 json = {
@@ -726,12 +726,12 @@ async def test_phone_registration_with_resend(
726726 await assert_status (resp , status .HTTP_202_ACCEPTED )
727727
728728 # STEP 2: RESEND code (optional step)
729- url = client .app .router ["my_profile_phone_resend " ].url_for ()
729+ url = client .app .router ["my_phone_resend " ].url_for ()
730730 resp = await client .post (f"{ url } " )
731731 await assert_status (resp , status .HTTP_202_ACCEPTED )
732732
733733 # STEP 3: CONFIRM phone registration
734- url = client .app .router ["my_profile_phone_confirm " ].url_for ()
734+ url = client .app .router ["my_phone_confirm " ].url_for ()
735735 resp = await client .post (
736736 f"{ url } " ,
737737 json = {
@@ -762,7 +762,7 @@ async def test_phone_registration_change_existing_phone(
762762
763763 # Set initial phone
764764 first_phone = faker .phone_number ()
765- url = client .app .router ["my_profile_phone_register " ].url_for ()
765+ url = client .app .router ["my_phone_register " ].url_for ()
766766 resp = await client .post (
767767 f"{ url } " ,
768768 json = {
@@ -771,7 +771,7 @@ async def test_phone_registration_change_existing_phone(
771771 )
772772 await assert_status (resp , status .HTTP_202_ACCEPTED )
773773
774- url = client .app .router ["my_profile_phone_confirm " ].url_for ()
774+ url = client .app .router ["my_phone_confirm " ].url_for ()
775775 resp = await client .post (
776776 f"{ url } " ,
777777 json = {
@@ -782,7 +782,7 @@ async def test_phone_registration_change_existing_phone(
782782
783783 # Change to new phone
784784 new_phone = faker .phone_number ()
785- url = client .app .router ["my_profile_phone_register " ].url_for ()
785+ url = client .app .router ["my_phone_register " ].url_for ()
786786 resp = await client .post (
787787 f"{ url } " ,
788788 json = {
@@ -791,7 +791,7 @@ async def test_phone_registration_change_existing_phone(
791791 )
792792 await assert_status (resp , status .HTTP_202_ACCEPTED )
793793
794- url = client .app .router ["my_profile_phone_confirm " ].url_for ()
794+ url = client .app .router ["my_phone_confirm " ].url_for ()
795795 resp = await client .post (
796796 f"{ url } " ,
797797 json = {
@@ -820,7 +820,7 @@ async def test_phone_registration_change_existing_phone(
820820 )
821821 await assert_status (resp , status .HTTP_202_ACCEPTED )
822822
823- url = client .app .router ["register_my_profile_phone_confirm " ].url_for ()
823+ url = client .app .router ["register_my_phone_confirm " ].url_for ()
824824 resp = await client .post (
825825 f"{ url } " ,
826826 json = {
0 commit comments