You are here

protected function OrderReportGenerateFormTest::getAdministratorPermissions in Commerce Reporting 8

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

tests/src/Functional/OrderReportGenerateFormTest.php, line 54

Class

OrderReportGenerateFormTest
Tests the OrderReportGenerateForm.

Namespace

Drupal\Tests\commerce_reports\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'access commerce reports',
    'generate commerce order reports',
    'administer commerce_order',
  ], parent::getAdministratorPermissions());
}