Skip to content

Commit 1935432

Browse files
author
Alexander Paliarush
committed
MAGETWO-50549: Create Hydrator that allows convert data interface to array and array to data interface
1 parent 4f7372d commit 1935432

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/EntityManager/Test/Unit/CustomAttributesMapperTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ public function testDatabaseToEntity()
184184
\Magento\Framework\Api\AttributeInterface::ATTRIBUTE_CODE => 'test',
185185
\Magento\Framework\Api\AttributeInterface::VALUE => 'test'
186186
]
187-
]
187+
],
188+
'test' => 'test'
188189
];
189190
$this->assertEquals($expected, $actual);
190191
}

0 commit comments

Comments
 (0)