You are here

protected function AddressBookTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides OrderWebDriverTestBase::getAdministratorPermissions

File

modules/order/tests/src/FunctionalJavascript/AddressBookTest.php, line 82

Class

AddressBookTest
Tests the address book pages.

Namespace

Drupal\Tests\commerce_order\FunctionalJavascript

Code

protected function getAdministratorPermissions() {
  return [
    'view the administration theme',
    'access administration pages',
    'access commerce administration pages',
    'access user profiles',
    'administer commerce_currency',
    'administer commerce_store',
    'administer commerce_store_type',
    'administer profile',
    'administer profile types',
  ];
}