Skip to content

Commit 1ddd7a5

Browse files
committed
AC-15415 : Potential performance issue on loading shipping methods
1 parent 1f6fcc1 commit 1ddd7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Shipping/Test/Unit/Model/Config/Source/AllmethodsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function testSkipsNullAndEmptyMethodCodes(): void
190190

191191
$this->carriersMock->expects($this->once())
192192
->method('getAllowedMethods')
193-
->willReturn([null => 'Null Title', '' => 'Empty Title']);
193+
->willReturn([0 => 'Zero Title', '' => 'Empty Title']);
194194

195195
$this->scopeConfig->expects($this->once())
196196
->method('getValue')

0 commit comments

Comments
 (0)