You are here

protected function ShippingMethodTest::getAdministratorPermissions in Commerce Shipping 8.2

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceWebDriverTestBase::getAdministratorPermissions

File

tests/src/FunctionalJavascript/ShippingMethodTest.php, line 26

Class

ShippingMethodTest
Tests the shipping method UI.

Namespace

Drupal\Tests\commerce_shipping\FunctionalJavascript

Code

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