Skip to content

Commit 83a7cad

Browse files
author
mastiuhin-olexandr
committed
MC-41351: Cannot remove data using attribute with "File" type in admin area
1 parent 4c578b1 commit 83a7cad

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Customer/Test/Unit/Model/Metadata/Form

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/Test/Unit/Model/Metadata/Form/FileTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public function testCompactValueNoDelete()
393393
->with('value')
394394
->willReturnSelf();
395395

396-
$this->assertSame('value', $model->compactValue([]));
396+
$this->assertSame([], $model->compactValue([]));
397397
}
398398

399399
public function testCompactValueDelete()
@@ -625,7 +625,7 @@ public function testCompactValueRemoveUiComponentValue()
625625
->with($value)
626626
->willReturnSelf();
627627

628-
$this->assertEquals($value, $model->compactValue([]));
628+
$this->assertEquals([], $model->compactValue([]));
629629
}
630630

631631
public function testCompactValueNoAction()

0 commit comments

Comments
 (0)