You are here

protected function ProductNoStoreTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

modules/product/tests/src/Functional/ProductNoStoreTest.php, line 25

Class

ProductNoStoreTest
Tests product UI behavior when there are no stores.

Namespace

Drupal\Tests\commerce_product\Functional

Code

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