You are here

protected function StockWebDriverTestBase::getAdministratorPermissions in Commerce Stock 8

1 call to StockWebDriverTestBase::getAdministratorPermissions()
StockWebDriverTestBase::setUp in tests/src/FunctionalJavascript/StockWebDriverTestBase.php

File

tests/src/FunctionalJavascript/StockWebDriverTestBase.php, line 80

Class

StockWebDriverTestBase
Defines base class for commerce stock test cases.

Namespace

Drupal\Tests\commerce_stock\FunctionalJavascript

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'administer commerce_product',
    'administer commerce_product_type',
    'administer commerce_product fields',
    'administer commerce_product_variation fields',
    'administer commerce_product_variation display',
    'access commerce_product overview',
    'view the administration theme',
    'access administration pages',
    'access commerce administration pages',
    'administer commerce_currency',
    'administer commerce_store',
    'administer commerce_store_type',
    'administer commerce_order',
    'administer commerce_stock_location',
    'administer commerce_stock_location_type',
  ], []);
}