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