We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85db4c8 commit b6c5198Copy full SHA for b6c5198
app/code/Magento/Eav/Test/Unit/Model/Entity/Attribute/Backend/ArrayTest.php
@@ -37,9 +37,10 @@ protected function setUp()
37
public function testValidate($data)
38
{
39
$this->_attribute->expects($this->atLeastOnce())->method('getAttributeCode')->will($this->returnValue('code'));
40
- $product = new \Magento\Framework\DataObject(['code' => $data]);
+ $product = new \Magento\Framework\DataObject(['code' => $data, 'empty' => '']);
41
$this->_model->validate($product);
42
$this->assertEquals('1,2,3', $product->getCode());
43
+ $this->assertEquals(null, $product->getEmpty());
44
}
45
46
public static function attributeValueDataProvider()
0 commit comments