You are here

protected function CouponTest::getAdministratorPermissions in Commerce Core 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

modules/promotion/tests/src/Functional/CouponTest.php, line 38

Class

CouponTest
Tests the admin UI for coupons.

Namespace

Drupal\Tests\commerce_promotion\Functional

Code

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