You are here

protected function ManagePaymentMethodsTest::getAdministratorPermissions in Commerce Authorize.Net 8

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

tests/src/Functional/ManagePaymentMethodsTest.php, line 35

Class

ManagePaymentMethodsTest
Tests the managing Authorize.net payment methods.

Namespace

Drupal\Tests\commerce_authnet\Functional

Code

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