You are here

protected function PromotionTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceWebDriverTestBase::getAdministratorPermissions

File

modules/promotion/tests/src/FunctionalJavascript/PromotionTest.php, line 66

Class

PromotionTest
Tests the admin UI for promotions.

Namespace

Drupal\Tests\commerce_promotion\FunctionalJavascript

Code

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