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