You are here

protected function OrderUserTest::setUp in Commerce Core 8.2

Overrides OrderBrowserTestBase::setUp

File

modules/order/tests/src/Functional/OrderUserTest.php, line 26

Class

OrderUserTest
Tests normal user operations with orders.

Namespace

Drupal\Tests\commerce_order\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $permissions = [
    'view own commerce_order',
  ];
  $this->user = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->user);
}