protected function LicenseAdminTest::getAdministratorPermissions in Commerce License 8.2
Same name in this branch
- 8.2 tests/src/Functional/LicenseAdminTest.php \Drupal\Tests\commerce_license\Functional\LicenseAdminTest::getAdministratorPermissions()
- 8.2 tests/src/FunctionalJavascript/LicenseAdminTest.php \Drupal\Tests\commerce_license\FunctionalJavascript\LicenseAdminTest::getAdministratorPermissions()
Gets the permissions for the admin user.
Return value
string[] The permissions.
Overrides CommerceWebDriverTestBase::getAdministratorPermissions
File
- tests/
src/ FunctionalJavascript/ LicenseAdminTest.php, line 37
Class
- LicenseAdminTest
- Tests the admin UI for licenses.
Namespace
Drupal\Tests\commerce_license\FunctionalJavascriptCode
protected function getAdministratorPermissions() {
return array_merge([
'access commerce_license overview',
'administer commerce_license',
], parent::getAdministratorPermissions());
}