protected function LicenseStateChangeTest::setUp in Commerce License 8.2
Overrides OrderKernelTestBase::setUp
File
- tests/
src/ Kernel/ LicenseStateChangeTest.php, line 36
Class
- LicenseStateChangeTest
- Tests changes to the license state have the correct effects.
Namespace
Drupal\Tests\commerce_license\KernelCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('commerce_license');
$this->licenseStorage = \Drupal::service('entity_type.manager')
->getStorage('commerce_license');
}