protected function CartTest::getAdministratorPermissions in Commerce Core 8.2
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides OrderBrowserTestBase::getAdministratorPermissions
File
- modules/
cart/ tests/ src/ Functional/ CartTest.php, line 49
Class
- CartTest
- Tests the cart page.
Namespace
Drupal\Tests\commerce_cart\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_product',
], parent::getAdministratorPermissions());
}