File tree 1 file changed +4
-6
lines changed
dev/tests/integration/testsuite/Magento/Eav/Setup
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2025 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
-
7
6
namespace Magento \Eav \Setup ;
8
7
9
8
use Magento \TestFramework \Fixture \AppIsolation ;
15
14
class EavSetupTest extends \PHPUnit \Framework \TestCase
16
15
{
17
16
/**
18
- * Eav setup.
19
- *
20
17
* @var \Magento\Eav\Setup\EavSetup
21
18
*/
22
19
private $ eavSetup ;
@@ -105,7 +102,8 @@ public static function addAttributeThrowExceptionDataProvider()
105
102
public function testAddInvalidAttributeThrowException ($ attributeCode )
106
103
{
107
104
$ 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, ' );
109
107
110
108
$ attributeData = $ this ->getAttributeData ();
111
109
$ this ->eavSetup ->addAttribute (\Magento \Catalog \Model \Product::ENTITY , $ attributeCode , $ attributeData );
You can’t perform that action at this time.
0 commit comments