protected function CartWebDriverTestBase::getAdministratorPermissions in Commerce Core 8.2
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides OrderWebDriverTestBase::getAdministratorPermissions
File
- modules/
cart/ tests/ src/ FunctionalJavascript/ CartWebDriverTestBase.php, line 46
Class
- CartWebDriverTestBase
- Defines base class for commerce_cart test cases.
Namespace
Drupal\Tests\commerce_cart\FunctionalJavascriptCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_product',
'access content',
], parent::getAdministratorPermissions());
}