protected property BuyXGetYTest::$promotion in Commerce Core 8.2
The test promotion.
Type: \Drupal\commerce_promotion\Entity\PromotionInterface
File
- modules/
promotion/ tests/ src/ Kernel/ Plugin/ Commerce/ PromotionOffer/ BuyXGetYTest.php, line 36
Class
- BuyXGetYTest
- Tests the "Buy X Get Y" offer.
Namespace
Drupal\Tests\commerce_promotion\Kernel\Plugin\Commerce\PromotionOfferCode
protected $promotion;