protected function DefaultPaymentAdminTest::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/ DefaultPaymentAdminTest.php, line 59
Class
- DefaultPaymentAdminTest
- Tests the admin UI for payments of type 'payment_default'.
Namespace
Drupal\Tests\commerce_payment\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_order',
'administer commerce_payment_gateway',
'administer commerce_payment',
], parent::getAdministratorPermissions());
}