protected function ProductTranslationTest::getAdministratorPermissions in Commerce Core 8.2
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides ProductBrowserTestBase::getAdministratorPermissions
File
- modules/
product/ tests/ src/ Functional/ ProductTranslationTest.php, line 31
Class
- ProductTranslationTest
- Tests translating products and variations.
Namespace
Drupal\Tests\commerce_product\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge([
'administer commerce_product_attribute',
'administer languages',
'administer content translation',
'translate any entity',
'translate configuration',
'access content overview',
'create content translations',
'update content translations',
'delete content translations',
], parent::getAdministratorPermissions());
}