Skip to content

Commit e6531a5

Browse files
authored
Fix unit test
1 parent fc4345a commit e6531a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/Address/RendererTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private function setStoreExpectations(): void
181181
$this->storeManagerMck->expects($matcher)->method('setCurrentStore')->with(
182182
$this->callback(function ($store) use ($matcher, $expected) {
183183
$this->assertEquals($store, $expected[$matcher->getInvocationCount() - 1]);
184-
return $this->storeManagerMck;
184+
return true;
185185
})
186186
);
187187

@@ -192,7 +192,7 @@ private function setStoreExpectations(): void
192192
$this->customerAddressConfigMock->expects($matcher)->method('setStore')->with(
193193
$this->callback(function ($store) use ($matcher, $expected) {
194194
$this->assertEquals($store, $expected[$matcher->getInvocationCount() - 1]);
195-
return $this->customerAddressConfigMock;
195+
return true;
196196
})
197197
);
198198
}

0 commit comments

Comments
 (0)