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\FunctionalCode
protected function setUp() : void {
parent::setUp();
$permissions = [
'view own commerce_order',
];
$this->user = $this
->drupalCreateUser($permissions);
$this
->drupalLogin($this->user);
}