CatalogTestBase.php in Ubercart 8.4
Namespace
Drupal\Tests\uc_catalog\FunctionalFile
uc_catalog/tests/src/Functional/CatalogTestBase.phpView source
<?php
namespace Drupal\Tests\uc_catalog\Functional;
use Drupal\Tests\uc_catalog\Traits\CatalogTestTrait;
use Drupal\Tests\uc_store\Functional\UbercartBrowserTestBase;
/**
* Base class for Ubercart catalog tests.
*/
abstract class CatalogTestBase extends UbercartBrowserTestBase {
use CatalogTestTrait;
/**
* {@inheritdoc}
*/
protected static $modules = [
'uc_catalog',
];
/**
* {@inheritdoc}
*/
protected static $adminPermissions = [
'view catalog',
];
}
Classes
Name | Description |
---|---|
CatalogTestBase | Base class for Ubercart catalog tests. |