Skip to content

Commit

Permalink
Fix Login does not work in popup in Magento 2.4.1 #68
Browse files Browse the repository at this point in the history
  • Loading branch information
sashas777 committed Feb 15, 2021
1 parent a43b724 commit b996c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test/Unit/Model/CustomerProvidersManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public function testGetCustomerProviders()
->getMock();
$result = [$provider1, $provider2];

$customAttribute->expects($this->atLeastOnce())->method('getValue')->willReturn('test,test2');
$customer->expects($this->atLeastOnce())->method('getCustomAttribute')->willReturn($customAttribute);
$customAttribute->expects($this->any())->method('getValue')->willReturn('test,test2');
$customer->expects($this->any())->method('getCustomAttribute')->willReturn($customAttribute);
$this->customerRepository->expects($this->atLeastOnce())->method('getById')->willReturn($customer);
$this->providerPool->expects($this->atLeastOnce())->method('getEnabledProviders')
->willReturn([$provider1, $provider2]);
Expand Down

0 comments on commit b996c4f

Please sign in to comment.