You are here

protected function OrderAdminTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides OrderBrowserTestBase::getAdministratorPermissions

File

modules/log/tests/src/Functional/OrderAdminTest.php, line 27

Class

OrderAdminTest
Tests the order admin.

Namespace

Drupal\Tests\commerce_log\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'administer commerce_order',
    'administer commerce_order_type',
    'access commerce_order overview',
    'add commerce_log commerce_order admin comment',
  ], parent::getAdministratorPermissions());
}