protected function CommerceReportsTaxGenerationTests::permissionBuilder in Commerce Reporting 7.4
Overrides CommerceBaseTestCase::permissionBuilder().
Overrides CommerceBaseTestCase::permissionBuilder
File
- modules/
tax/ Tests/ CommerceReportsTaxGenerationTests.php, line 23
Class
Namespace
Drupal\commerce_reports_tax\TestsCode
protected function permissionBuilder($set) {
$permissions = parent::permissionBuilder($set);
switch ($set) {
case 'store admin':
case 'site admin':
$permissions[] = 'access commerce tax reports';
$permissions[] = 'configure commerce tax reports';
break;
}
return $permissions;
}