sponsor profile api updated

This commit is contained in:
mohanmd 2026-06-24 13:03:31 +05:30
parent 76dbb5cf08
commit ccd999643a

View File

@ -703,33 +703,35 @@ public function test_sponsor_can_update_profile_and_syncs_with_matching_user()
'address' => 'New Address', 'address' => 'New Address',
'nationality' => 'Jordanian', 'nationality' => 'Jordanian',
'country_code' => '+962', 'country_code' => '+962',
'id_number' => '784-2000-1234567-1', 'emirates_id' => [
'card_number' => '987654321', 'emirates_id_number' => '784-2000-1234567-1',
'full_name' => 'Updated Sponsor Name', 'name' => 'Updated Sponsor Name',
'date_of_birth' => '2000-01-01', 'date_of_birth' => '2000-01-01',
'gender' => 'Male', 'expiry_date' => '2028-01-01',
'issue_date' => '2023-01-01', 'issue_date' => '2023-01-01',
'expiry_date' => '2028-01-01', 'occupation' => 'Business Owner',
'occupation' => 'Business Owner', 'employer' => 'Self',
'employer' => 'Self', 'issue_place' => 'Abu Dhabi',
'issuing_place' => 'Abu Dhabi', ],
'document_type' => 'dubai_commercial_license', 'license' => [
'country' => 'United Arab Emirates', 'document_type' => 'dubai_commercial_license',
'authority' => 'Dubai Economy and Tourism', 'country' => 'United Arab Emirates',
'license_no' => '828302', 'authority' => 'Dubai Economy and Tourism',
'company_name' => 'MSJ INTERNATIONAL TECHNICAL SERVICES L.L.C', 'license_no' => '828302',
'business_name' => 'MSJ INTERNATIONAL TECHNICAL SERVICES L.L.C', 'company_name' => 'MSJ INTERNATIONAL TECHNICAL SERVICES L.L.C',
'license_category' => 'Dep. of Economic Development', 'business_name' => 'MSJ INTERNATIONAL TECHNICAL SERVICES L.L.C',
'legal_type' => 'Limited Liability Company Single Owner(LLC- - SO)', 'license_category' => 'Dep. of Economic Development',
'main_license_no' => '828302', 'legal_type' => 'Limited Liability Company Single Owner(LLC- - SO)',
'register_no' => '1656486', 'main_license_no' => '828302',
'dcci_no' => '317412', 'register_no' => '1656486',
'members' => [ 'dcci_no' => '317412',
[ 'members' => [
'person_no' => '752967', [
'name' => 'Lo lo wallus issued in', 'person_no' => '752967',
'nationality' => 'India', 'name' => 'Lo lo wallus issued in',
'role' => 'Shares Owner Who' 'nationality' => 'India',
'role' => 'Shares Owner Who'
]
] ]
] ]
]); ]);
@ -762,10 +764,8 @@ public function test_sponsor_can_update_profile_and_syncs_with_matching_user()
'email' => 'new-sync-test@example.com', 'email' => 'new-sync-test@example.com',
'mobile' => '+971500000002', 'mobile' => '+971500000002',
'emirates_id' => '784-2000-1234567-1', 'emirates_id' => '784-2000-1234567-1',
'emirates_id_card_number' => '987654321',
'emirates_id_name' => 'Updated Sponsor Name', 'emirates_id_name' => 'Updated Sponsor Name',
'emirates_id_dob' => '2000-01-01', 'emirates_id_dob' => '2000-01-01',
'emirates_id_gender' => 'Male',
'emirates_id_issue_date' => '2023-01-01', 'emirates_id_issue_date' => '2023-01-01',
'emirates_id_expiry' => '2028-01-01', 'emirates_id_expiry' => '2028-01-01',
'emirates_id_occupation' => 'Business Owner', 'emirates_id_occupation' => 'Business Owner',
@ -790,10 +790,8 @@ public function test_sponsor_can_update_profile_and_syncs_with_matching_user()
'address' => 'New Address', 'address' => 'New Address',
'phone' => '+971500000002', 'phone' => '+971500000002',
'emirates_id_number' => '784-2000-1234567-1', 'emirates_id_number' => '784-2000-1234567-1',
'emirates_id_card_number' => '987654321',
'emirates_id_name' => 'Updated Sponsor Name', 'emirates_id_name' => 'Updated Sponsor Name',
'emirates_id_dob' => '2000-01-01', 'emirates_id_dob' => '2000-01-01',
'emirates_id_gender' => 'Male',
'emirates_id_issue_date' => '2023-01-01', 'emirates_id_issue_date' => '2023-01-01',
'emirates_id_expiry' => '2028-01-01', 'emirates_id_expiry' => '2028-01-01',
'emirates_id_occupation' => 'Business Owner', 'emirates_id_occupation' => 'Business Owner',