Skip to content

Commit 147a7cb

Browse files
committed
ACP2E-3688: Attribute Default Value for Options Not Working
- removed invalid comment from test
1 parent 12c7f14 commit 147a7cb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Eav/Test/Unit/Model/ResourceModel/Entity/AttributeTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ public function testSaveSelectDefaultOptionAttribute()
175175
->onlyMethods(['save'])
176176
->setConstructorArgs($arguments)
177177
->getMock();
178-
// $model->expects($this->any())->method('hasDataChanges')->willReturn(true);
179178
$model->setOption(
180179
[
181180
'delete' =>
@@ -190,7 +189,6 @@ public function testSaveSelectDefaultOptionAttribute()
190189
$connectionMock->expects($this->any())
191190
->method('update')
192191
->with('eav_attribute', $this->logicalOr($originalData, ['default_value' => "option_1"]));
193-
// $connectionMock->expects($this->any())->method('getTransactionLevel')->willReturn(1);
194192

195193
$resourceModel->save($model);
196194
}

0 commit comments

Comments
 (0)