You are here

protected function WishlistBrowserTestBase::getAdministratorPermissions in Commerce Wishlist 8.3

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides CommerceBrowserTestBase::getAdministratorPermissions

File

tests/src/Functional/WishlistBrowserTestBase.php, line 23

Class

WishlistBrowserTestBase
Defines base class for commerce_wishlist test cases.

Namespace

Drupal\Tests\commerce_wishlist\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge([
    'access commerce_wishlist overview',
    'administer commerce_wishlist',
    'administer commerce_product',
  ], parent::getAdministratorPermissions());
}