protected function OrderNoStoreTest::getAdministratorPermissions in Commerce Core 8.2
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides CommerceBrowserTestBase::getAdministratorPermissions
File
- modules/
order/ tests/ src/ Functional/ OrderNoStoreTest.php, line 25
Class
- OrderNoStoreTest
- Tests order UI behavior when there are no stores.
Namespace
Drupal\Tests\commerce_order\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_order',
'administer commerce_order_type',
'access commerce_order overview',
], parent::getAdministratorPermissions());
}