You are here

protected function CustomerProfileTypeTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides OrderBrowserTestBase::getAdministratorPermissions

File

modules/order/tests/src/Functional/CustomerProfileTypeTest.php, line 30

Class

CustomerProfileTypeTest
Tests the management of customer profile types.

Namespace

Drupal\Tests\commerce_order\Functional

Code

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