-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Replace usages of Magento's annotations in tests with new PHP 8 attributes.
Old Annotation | New Attribute |
---|---|
@magentoAppIsolation enabled |
#[\Magento\TestFramework\Fixture\AppIsolation(true)] |
@magentoAppArea frontend |
#[\Magento\TestFramework\Fixture\AppArea('frontend')] |
@magentoConfigFixture current_store sales/custom_order_fees/custom_fees [] |
#[\Magento\TestFramework\Fixture\Config(ConfigInterface::CONFIG_PATH_CUSTOM_FEES, '[]', ScopeInterface::SCOPE_STORE, 'current')] |
@magentoDataFixture JosephLeedy_CustomFees::../test/Integration/_files/orders_with_custom_fees.php |
#[\Magento\TestFramework\Fixture\Data('JosephLeedy_CustomFees::../test/Integration/_files/orders_with_custom_fees.php') |
Metadata
Metadata
Assignees
Labels
Projects
Status
Backlog