We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ba905 commit 50b006eCopy full SHA for 50b006e
app/code/Magento/Persistent/Test/Unit/CustomerData/PersistentTest.php
@@ -107,7 +107,7 @@ public function testGetSectionDataCustomerLoginAndEnablePersistent()
107
$this->persistentSessionHelperMock->method('getSession')->willReturn($persistentSessionMock);
108
109
$customerMock = $this->createMock(CustomerInterface::class);
110
- $this->customerRepositoryMock->method('getById')->with(1)->willReturn($customerMock);
+ $this->customerRepositoryMock->method('getById')->with(self::STUB_CUSTOMER_ID)->willReturn($customerMock);
111
$this->customerViewHelperMock->method('getCustomerName')->with($customerMock)
112
->willReturn(self::STUB_CUSTOMER_NAME);
113
0 commit comments