You are here

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

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceWebDriverTestBase::getAdministratorPermissions

File

tests/src/FunctionalJavascript/ConfigurationFormTest.php, line 25

Class

ConfigurationFormTest
Tests the Authorize.net payment configuration form.

Namespace

Drupal\Tests\commerce_authnet\FunctionalJavascript

Code

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