You are here

protected function ConfigureGatewayTest::getAdministratorPermissions in Commerce Square Connect 8

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceWebDriverTestBase::getAdministratorPermissions

File

tests/src/FunctionalJavascript/ConfigureGatewayTest.php, line 29

Class

ConfigureGatewayTest
Tests the creation and configuration of the gateway.

Namespace

Drupal\Tests\commerce_square\FunctionalJavascript

Code

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