You are here

protected function SubscriptionLifecycleTest::setUp in Commerce Recurring Framework 8

Overrides RecurringKernelTestBase::setUp

File

tests/src/Kernel/SubscriptionLifecycleTest.php, line 21

Class

SubscriptionLifecycleTest
Tests the subscription lifecycle.

Namespace

Drupal\Tests\commerce_recurring\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $order_type = OrderType::load('default');
  $order_type
    ->setWorkflowId('order_default_validation');
  $order_type
    ->save();
}