You are here

protected function InvoiceOrderAccessCheckTest::setUp in Commerce Invoice 8.2

Overrides OrderIntegrationTest::setUp

File

tests/src/Kernel/InvoiceOrderAccessCheckTest.php, line 32

Class

InvoiceOrderAccessCheckTest
Tests the 'access_check.invoice_order' access checker.

Namespace

Drupal\Tests\commerce_invoice\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->accessChecker = $this->container
    ->get('access_check.invoice_order');
}