File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
dev/tests/integration/testsuite/Magento/Eav/Setup Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2025 Adobe
4+ * All Rights Reserved .
55 */
6-
76namespace Magento \Eav \Setup ;
87
98use Magento \TestFramework \Fixture \AppIsolation ;
1514class EavSetupTest extends \PHPUnit \Framework \TestCase
1615{
1716 /**
18- * Eav setup.
19- *
2017 * @var \Magento\Eav\Setup\EavSetup
2118 */
2219 private $ eavSetup ;
@@ -105,7 +102,8 @@ public static function addAttributeThrowExceptionDataProvider()
105102 public function testAddInvalidAttributeThrowException ($ attributeCode )
106103 {
107104 $ this ->expectException (\Magento \Framework \Exception \LocalizedException::class);
108- $ this ->expectExceptionMessage ('Please use only letters (a-z or A-Z), numbers (0-9) or underscore (_) in this field, ' );
105+ $ this ->expectExceptionMessage ('Please use only letters (a-z or A-Z), ' .
106+ 'numbers (0-9) or underscore (_) in this field, ' );
109107
110108 $ attributeData = $ this ->getAttributeData ();
111109 $ this ->eavSetup ->addAttribute (\Magento \Catalog \Model \Product::ENTITY , $ attributeCode , $ attributeData );
You can’t perform that action at this time.
0 commit comments