You are here

protected function NumberPatternTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceWebDriverTestBase::getAdministratorPermissions

File

modules/number_pattern/tests/src/FunctionalJavascript/NumberPatternTest.php, line 29

Class

NumberPatternTest
Tests the number pattern admin UI.

Namespace

Drupal\Tests\commerce_number_pattern\FunctionalJavascript

Code

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