protected function PaymentGatewayTest::getAdministratorPermissions in Commerce Core 8.2
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides CommerceBrowserTestBase::getAdministratorPermissions
File
- modules/
payment/ tests/ src/ Functional/ PaymentGatewayTest.php, line 25
Class
- PaymentGatewayTest
- Tests the payment gateway UI.
Namespace
Drupal\Tests\commerce_payment\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_payment_gateway',
], parent::getAdministratorPermissions());
}