Skip to content

Commit 9c4a26f

Browse files
author
gwharton
committed
Fix codacy issue
1 parent d61fe1d commit 9c4a26f

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/Test/Unit/Data/Form/Element

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Test/Unit/Data/Form/Element/HiddenTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public function testGetElementHtml($value)
4040
foreach ($value as $item) {
4141
$this->assertContains($item, $html);
4242
}
43-
} else {
44-
$this->assertContains($value, $html);
43+
return;
4544
}
45+
$this->assertContains($value, $html);
4646
}
4747

4848
public function getElementHtmlDataProvider()

0 commit comments

Comments
 (0)