You are here

protected function PriceListBrowserTestBase::getAdministratorPermissions in Commerce Pricelist 8

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

tests/src/Functional/PriceListBrowserTestBase.php, line 46

Class

PriceListBrowserTestBase
Defines base class for shortcut test cases.

Namespace

Drupal\Tests\commerce_pricelist\Functional

Code

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