You are here

protected function CheckoutOrderTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

modules/checkout/tests/src/Functional/CheckoutOrderTest.php, line 56

Class

CheckoutOrderTest
Tests the checkout of an order.

Namespace

Drupal\Tests\commerce_checkout\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'administer commerce_checkout_flow',
    'administer views',
  ], parent::getAdministratorPermissions());
}