Skip to content

Commit 5de58f6

Browse files
author
Mohan Ahuja
committed
ACP2E-356: Cannot create a new customer from Admin if Customer Sharing setting is set to Global
- Fixing build issues.
1 parent 97e602c commit 5de58f6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Customer/Test/Unit/ViewModel/Customer/WebsiteTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,13 @@ public function dataProviderOptionsArray(): array
9292
'label' => 'Main Website',
9393
'value' => '1',
9494
'group_id' => '1',
95+
'default_store_view_id' => '1',
9596
],
9697
[
9798
'label' => 'Second Website',
9899
'value' => '2',
99100
'group_id' => '1',
101+
'default_store_view_id' => '2',
100102
],
101103
],
102104
],

app/code/Magento/Customer/ViewModel/Customer/Website.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function getWebsiteOptions(): array
7676
/**
7777
* Get Default store view id by Website id
7878
*
79-
* @param $websiteId
79+
* @param string $websiteId
8080
* @return mixed
8181
*/
8282
private function getWebsiteDefaultStoreViewId($websiteId)

0 commit comments

Comments
 (0)