Skip to content

Commit 9471a22

Browse files
author
Maksym Savich
committed
MAGETWO-35462: Refactor \Magento\Framework\Model\Resource\Db\AbstractDb only update changed fields
- Failed static test fix
1 parent aacdd70 commit 9471a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Model/Test/Unit/AbstractModelTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ public function testDelete()
112112
public function testUpdateStoredData()
113113
{
114114
$this->model->setData(
115-
array(
115+
[
116116
'id' => 1000,
117117
'name' => 'Test Name'
118-
)
118+
]
119119
);
120120
$this->assertEmpty($this->model->getStoredData());
121121
$this->model->afterLoad();

0 commit comments

Comments
 (0)