You are here

protected function CartDependencyTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

modules/promotion/tests/src/Functional/CartDependencyTest.php, line 25

Class

CartDependencyTest
Tests that promotion installs without Commerce Cart.

Namespace

Drupal\Tests\commerce_promotion\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'access administration pages',
    'administer modules',
  ], parent::getAdministratorPermissions());
}