diff --git a/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php b/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php index 17f9f481be78e..01ae98fe69c82 100644 --- a/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php +++ b/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php @@ -1,11 +1,12 @@ expectException(\Magento\Framework\Exception\LocalizedException::class); @@ -98,10 +98,12 @@ public static function addAttributeThrowExceptionDataProvider() * * @dataProvider addInvalidAttributeThrowExceptionDataProvider */ + #[AppIsolation(true)] public function testAddInvalidAttributeThrowException($attributeCode) { $this->expectException(\Magento\Framework\Exception\LocalizedException::class); - $this->expectExceptionMessage('Please use only letters (a-z or A-Z), numbers (0-9) or underscore (_) in this field,'); + $this->expectExceptionMessage('Please use only letters (a-z or A-Z), ' . + 'numbers (0-9) or underscore (_) in this field,'); $attributeData = $this->getAttributeData(); $this->eavSetup->addAttribute(\Magento\Catalog\Model\Product::ENTITY, $attributeCode, $attributeData);