You are here

protected function OrderTest::setUp in Ubercart 8.4

Overrides UbercartBrowserTestBase::setUp

File

uc_order/tests/src/Functional/OrderTest.php, line 26

Class

OrderTest
Tests for Ubercart orders.

Namespace

Drupal\Tests\uc_order\Functional

Code

protected function setUp() {
  parent::setUp();

  // Need page_title_block because we test page titles.
  $this
    ->drupalPlaceBlock('page_title_block');

  // Create a simple customer user account.
  $this->customer = $this
    ->drupalCreateUser([
    'view own orders',
  ]);
}