sponsor profile api updated
This commit is contained in:
parent
76dbb5cf08
commit
ccd999643a
@ -703,16 +703,17 @@ 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',
|
||||
'emirates_id' => [
|
||||
'emirates_id_number' => '784-2000-1234567-1',
|
||||
'name' => 'Updated Sponsor Name',
|
||||
'date_of_birth' => '2000-01-01',
|
||||
'gender' => 'Male',
|
||||
'issue_date' => '2023-01-01',
|
||||
'expiry_date' => '2028-01-01',
|
||||
'issue_date' => '2023-01-01',
|
||||
'occupation' => 'Business Owner',
|
||||
'employer' => 'Self',
|
||||
'issuing_place' => 'Abu Dhabi',
|
||||
'issue_place' => 'Abu Dhabi',
|
||||
],
|
||||
'license' => [
|
||||
'document_type' => 'dubai_commercial_license',
|
||||
'country' => 'United Arab Emirates',
|
||||
'authority' => 'Dubai Economy and Tourism',
|
||||
@ -732,6 +733,7 @@ public function test_sponsor_can_update_profile_and_syncs_with_matching_user()
|
||||
'role' => 'Shares Owner Who'
|
||||
]
|
||||
]
|
||||
]
|
||||
]);
|
||||
|
||||
$response->assertStatus(200)
|
||||
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user