You are here

protected function OrderReassignTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides OrderWebDriverTestBase::getAdministratorPermissions

File

modules/order/tests/src/FunctionalJavascript/OrderReassignTest.php, line 33

Class

OrderReassignTest
Tests the commerce_order reassign form.

Namespace

Drupal\Tests\commerce_order\FunctionalJavascript

Code

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