You are here

protected function ProductAttributeTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides ProductBrowserTestBase::getAdministratorPermissions

File

modules/product/tests/src/Functional/ProductAttributeTest.php, line 20

Class

ProductAttributeTest
Create, edit, delete, and change product attributes.

Namespace

Drupal\Tests\commerce_product\Functional

Code

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