You are here

protected function CartBrowserTestBase::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides OrderBrowserTestBase::getAdministratorPermissions

File

modules/cart/tests/src/Functional/CartBrowserTestBase.php, line 46

Class

CartBrowserTestBase
Defines base class for commerce_cart test cases.

Namespace

Drupal\Tests\commerce_cart\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'administer commerce_product',
    'access content',
  ], parent::getAdministratorPermissions());
}