You are here

protected function InvoiceTest::setUp in Commerce Invoice 8.2

Overrides InvoiceKernelTestBase::setUp

File

tests/src/Kernel/Entity/InvoiceTest.php, line 34

Class

InvoiceTest
Tests the invoice entity.

Namespace

Drupal\Tests\commerce_invoice\Kernel\Entity

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig('commerce_order');
  $this
    ->installEntitySchema('commerce_order');
  $user = $this
    ->createUser();
  $this->user = $this
    ->reloadEntity($user);
}