protected function EntityTraitTest::getAdministratorPermissions in Commerce Core 8.2
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides CommerceBrowserTestBase::getAdministratorPermissions
File
- tests/
src/ Functional/ EntityTraitTest.php, line 26
Class
- EntityTraitTest
- Tests the entity trait functionality.
Namespace
Drupal\Tests\commerce\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_store_type',
'administer commerce_store fields',
], parent::getAdministratorPermissions());
}