You are here

protected function ProductAttributeTranslationTest::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/ProductAttributeTranslationTest.php, line 35

Class

ProductAttributeTranslationTest
Tests translating product attributes and their values.

Namespace

Drupal\Tests\commerce_product\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'administer commerce_product_attribute',
    'administer languages',
    'translate any entity',
    'translate configuration',
  ], parent::getAdministratorPermissions());
}