Skip to content

Commit 0a1ae3b

Browse files
committed
Refactor filter factory test
1 parent 888ad59 commit 0a1ae3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Ui/Component/FilterFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testCreateWithUseSourceAttribute()
8686
$sourceMock->method('getAllOptions')->willReturn(self::STUB_ATTRIBUTE['all_options']);
8787
$this->componentFactoryMock->expects($this->once())
8888
->method('create')
89-
->with('color', 'filterSelect', [
89+
->with(self::STUB_ATTRIBUTE['attribute_code'], 'filterSelect', [
9090
'data' => [
9191
'config' => [
9292
'options' => self::STUB_ATTRIBUTE['all_options'],

0 commit comments

Comments
 (0)