You are here

WishlistBrowserTestBase.php in Commerce Wishlist 8.3

File

tests/src/Functional/WishlistBrowserTestBase.php
View source
<?php

namespace Drupal\Tests\commerce_wishlist\Functional;

use Drupal\Tests\commerce\Functional\CommerceBrowserTestBase;

/**
 * Defines base class for commerce_wishlist test cases.
 */
abstract class WishlistBrowserTestBase extends CommerceBrowserTestBase {

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'commerce_product',
    'commerce_wishlist',
  ];

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

}

Classes

Namesort descending Description
WishlistBrowserTestBase Defines base class for commerce_wishlist test cases.