Skip to content

Commit a5c064a

Browse files
committed
#9961: Unused product attributes display with value N/A or NO on storefront.
1 parent c2a2450 commit a5c064a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Catalog/Test/Unit/Block/Product/View/AttributeTest.php renamed to app/code/Magento/Catalog/Test/Unit/Block/Product/View/AttributesTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ class AttributesTest extends TestCase
6565

6666
protected function setUp()
6767
{
68+
// @codingStandardsIgnoreStart
6869
$this->phrase = new Phrase(__(''));
70+
// @codingStandardsIgnoreEnd
6971
$this->attribute = $this
7072
->getMockBuilder(AbstractAttribute::class)
7173
->disableOriginalConstructor()
@@ -130,7 +132,9 @@ protected function setUp()
130132
*/
131133
public function testGetAttributeNoValue()
132134
{
135+
// @codingStandardsIgnoreStart
133136
$this->phrase = new Phrase(__(''));
137+
// @codingStandardsIgnoreEnd
134138
$this->frontendAttribute
135139
->expects($this->any())
136140
->method('getValue')

0 commit comments

Comments
 (0)