7 declare(strict_types=1);
11 ->create(\
Magento\Eav\Api\AttributeRepositoryInterface::class);
19 $data[
'is_used_for_promo_rules'] = 1;
29 'customer_group_ids' => [\
Magento\Customer\Model\GroupManagement::NOT_LOGGED_IN_ID],
30 'coupon_type' => \
Magento\SalesRule\Model\Rule::COUPON_TYPE_NO_COUPON,
31 'simple_action' =>
'by_percent',
32 'discount_amount' => 20,
34 'stop_rules_processing' => 1,
36 \
Magento\TestFramework\Helper\Bootstrap::getObjectManager()->
get(
37 \
Magento\Store\Model\StoreManagerInterface::class
38 )->getWebsite()->getId(),
44 'type' => \
Magento\SalesRule\Model\Rule\Condition\Combine::class,
48 'is_value_processed' =>
null,
49 'aggregator' =>
'all',
53 'type' => \
Magento\SalesRule\Model\Rule\Condition\Product\Found::class,
57 'is_value_processed' =>
null,
58 'aggregator' =>
'all',
62 'type' => \
Magento\SalesRule\Model\Rule\Condition\Product::class,
65 'value' =>
'product-bundle',
66 'is_value_processed' =>
false,
78 $registry->unregister(
'_fixture/Magento_SalesRule_Sku_Exclude');
static getObjectManager()