Commit a3aa17e4 authored by tim.plunkett's avatar tim.plunkett Committed by tim.plunkett

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

parent 625e3009
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment