Skip to content
Snippets Groups Projects
Commit a3aa17e4 authored by Tim Plunkett's avatar Tim Plunkett Committed by Tim Plunkett
Browse files

Issue #1768710 by tim.plunkett: Only enable Views UI in test classes that need it.

parent 625e3009
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -12,6 +12,13 @@
*/
class AnalyzeTest extends ViewTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('views_ui');
public static function getInfo() {
return array(
'name' => 'Views Analyze',
......
......@@ -14,6 +14,13 @@
*/
class FilterDateTest extends HandlerTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('views_ui');
public static function getInfo() {
return array(
'name' => 'Filter: Date',
......
......@@ -14,6 +14,13 @@
*/
class HandlersTest extends ViewTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('views_ui');
public static function getInfo() {
return array(
'name' => 'Handlers tests',
......
......@@ -14,6 +14,13 @@
*/
class ArgumentDefaultTest extends PluginTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('views_ui');
/**
* A random string used in the default views.
*
......
......@@ -12,6 +12,13 @@
*/
class ExposedFormTest extends PluginTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('views_ui');
public static function getInfo() {
return array(
'name' => 'Exposed forms',
......
......@@ -14,6 +14,13 @@
*/
class PagerTest extends PluginTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('views_ui');
public static function getInfo() {
return array(
'name' => 'Pager',
......
......@@ -19,7 +19,7 @@ abstract class UITestBase extends ViewTestBase {
*
* @var array
*/
public static $modules = array('block');
public static $modules = array('views_ui', 'block');
protected function setUp() {
parent::setUp();
......
......@@ -24,7 +24,7 @@ class UpgradeTestCase extends ViewTestBase {
*
* @var array
*/
public static $modules = array('php');
public static $modules = array('views_ui', 'php');
public static function getInfo() {
return array(
......
......@@ -18,7 +18,7 @@ abstract class ViewTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = array('views', 'views_ui');
public static $modules = array('views');
protected function setUp() {
parent::setUp();
......
......@@ -19,7 +19,7 @@ abstract class WizardTestBase extends ViewTestBase {
*
* @var array
*/
public static $modules = array('block');
public static $modules = array('views_ui', 'block');
function setUp() {
parent::setUp();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment