protected function OrderWebDriverTestBase::getAdministratorPermissions in Commerce Core 8.2
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides CommerceWebDriverTestBase::getAdministratorPermissions
2 calls to OrderWebDriverTestBase::getAdministratorPermissions()
- CartWebDriverTestBase::getAdministratorPermissions in modules/
cart/ tests/ src/ FunctionalJavascript/ CartWebDriverTestBase.php - Gets the permissions for the admin user.
- OrderReassignTest::getAdministratorPermissions in modules/
order/ tests/ src/ FunctionalJavascript/ OrderReassignTest.php - Gets the permissions for the admin user.
3 methods override OrderWebDriverTestBase::getAdministratorPermissions()
- AddressBookTest::getAdministratorPermissions in modules/
order/ tests/ src/ FunctionalJavascript/ AddressBookTest.php - Gets the permissions for the admin user.
- CartWebDriverTestBase::getAdministratorPermissions in modules/
cart/ tests/ src/ FunctionalJavascript/ CartWebDriverTestBase.php - Gets the permissions for the admin user.
- OrderReassignTest::getAdministratorPermissions in modules/
order/ tests/ src/ FunctionalJavascript/ OrderReassignTest.php - Gets the permissions for the admin user.
File
- modules/
order/ tests/ src/ FunctionalJavascript/ OrderWebDriverTestBase.php, line 34
Class
- OrderWebDriverTestBase
- Defines base class for commerce_order test cases.
Namespace
Drupal\Tests\commerce_order\FunctionalJavascriptCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_order',
'administer commerce_order_type',
'access commerce_order overview',
], parent::getAdministratorPermissions());
}