summaryrefslogtreecommitdiffstats
path: root/core/modules/views_ui
diff options
context:
space:
mode:
authorNathaniel Catchpole2018-08-15 10:55:23 (GMT)
committerNathaniel Catchpole2018-08-15 10:59:14 (GMT)
commit29d0958a483f71801a4ac99fb8c1f1d1f933d8e7 (patch)
treee70b78e34eac1690b1592689c949c04e5720e5c7 /core/modules/views_ui
parentc34c4408de207abd2f295202435bb98dee216727 (diff)
Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase
(cherry picked from commit 69501f306224ea233edf9d2cca4c6ed21f2e269f)
Diffstat (limited to 'core/modules/views_ui')
-rw-r--r--core/modules/views_ui/src/Tests/UITestBase.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/AnalyzeTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/DisplayPathTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/DisplayTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/FilterUITest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/HandlerTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/ReportTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/StorageTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/UITestBase.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/ViewsListTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Functional/XssTest.php2
-rw-r--r--core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php2
-rw-r--r--core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php2
-rw-r--r--core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php2
-rw-r--r--core/modules/views_ui/tests/src/FunctionalJavascript/LibraryCachingTest.php2
-rw-r--r--core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php2
-rw-r--r--core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php2
-rw-r--r--core/modules/views_ui/tests/src/Kernel/TagTest.php2
28 files changed, 28 insertions, 28 deletions
diff --git a/core/modules/views_ui/src/Tests/UITestBase.php b/core/modules/views_ui/src/Tests/UITestBase.php
index 752be6e..96644d8 100644
--- a/core/modules/views_ui/src/Tests/UITestBase.php
+++ b/core/modules/views_ui/src/Tests/UITestBase.php
@@ -31,7 +31,7 @@ abstract class UITestBase extends ViewTestBase {
*
* @var array
*/
- public static $modules = ['node', 'views_ui', 'block', 'taxonomy'];
+ protected static $modules = ['node', 'views_ui', 'block', 'taxonomy'];
/**
* {@inheritdoc}
diff --git a/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php b/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php
index 32d1ae9..9ed2345 100644
--- a/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php
+++ b/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php
@@ -14,7 +14,7 @@ class AnalyzeTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['views_ui'];
+ protected static $modules = ['views_ui'];
/**
* Views used by this test.
diff --git a/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php b/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php
index d74575f..41faa00 100644
--- a/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php
@@ -17,7 +17,7 @@ class AreaEntityUITest extends UITestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['entity_test'];
+ protected static $modules = ['entity_test'];
public function testUI() {
// Set up a block and a entity_test entity.
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php b/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
index c1c7cef..d98bd46 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
@@ -23,7 +23,7 @@ class DisplayCRUDTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['contextual'];
+ protected static $modules = ['contextual'];
/**
* Tests adding a display.
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php b/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php
index 9dba450..1230c12 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php
@@ -22,7 +22,7 @@ class DisplayFeedTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['views_ui', 'aggregator'];
+ protected static $modules = ['views_ui', 'aggregator'];
/**
* Tests feed display admin UI.
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php b/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
index 2f007f1..5c1e7f3 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
@@ -25,7 +25,7 @@ class DisplayPathTest extends UITestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['menu_ui'];
+ protected static $modules = ['menu_ui'];
/**
* Views used by this test.
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayTest.php b/core/modules/views_ui/tests/src/Functional/DisplayTest.php
index 8fa5a80..10cbe5a 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayTest.php
@@ -25,7 +25,7 @@ class DisplayTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['contextual'];
+ protected static $modules = ['contextual'];
/**
* Tests adding a display.
diff --git a/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php b/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
index 0822eb8..c45394b 100644
--- a/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
@@ -21,7 +21,7 @@ class ExposedFormUITest extends UITestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node', 'views_ui', 'block', 'taxonomy', 'field_ui', 'datetime'];
+ protected static $modules = ['node', 'views_ui', 'block', 'taxonomy', 'field_ui', 'datetime'];
/**
* Array of error message strings raised by the grouped form.
diff --git a/core/modules/views_ui/tests/src/Functional/FilterUITest.php b/core/modules/views_ui/tests/src/Functional/FilterUITest.php
index 18ada1b..d831d05 100644
--- a/core/modules/views_ui/tests/src/Functional/FilterUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/FilterUITest.php
@@ -22,7 +22,7 @@ class FilterUITest extends UITestBase {
*
* @var array
*/
- public static $modules = ['views_ui', 'node'];
+ protected static $modules = ['views_ui', 'node'];
/**
* {@inheritdoc}
diff --git a/core/modules/views_ui/tests/src/Functional/HandlerTest.php b/core/modules/views_ui/tests/src/Functional/HandlerTest.php
index 7d96d0c..ac3d785 100644
--- a/core/modules/views_ui/tests/src/Functional/HandlerTest.php
+++ b/core/modules/views_ui/tests/src/Functional/HandlerTest.php
@@ -19,7 +19,7 @@ class HandlerTest extends UITestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node_test_views'];
+ protected static $modules = ['node_test_views'];
/**
* Views used by this test.
diff --git a/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php b/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
index ef493ff..0da216a 100644
--- a/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
+++ b/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
@@ -14,7 +14,7 @@ class NewViewConfigSchemaTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['views_ui', 'node', 'comment', 'file', 'taxonomy', 'dblog', 'aggregator'];
+ protected static $modules = ['views_ui', 'node', 'comment', 'file', 'taxonomy', 'dblog', 'aggregator'];
/**
* Tests creating brand new views.
diff --git a/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php b/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php
index d2527d0..5ffd700 100644
--- a/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php
@@ -20,7 +20,7 @@ class ReportFieldsTest extends UITestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['entity_test'];
+ protected static $modules = ['entity_test'];
/**
* Tests the Views fields report page.
diff --git a/core/modules/views_ui/tests/src/Functional/ReportTest.php b/core/modules/views_ui/tests/src/Functional/ReportTest.php
index e797993..7cf4ed6 100644
--- a/core/modules/views_ui/tests/src/Functional/ReportTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ReportTest.php
@@ -14,7 +14,7 @@ class ReportTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['views', 'views_ui'];
+ protected static $modules = ['views', 'views_ui'];
/**
* Stores an admin user used by the different tests.
diff --git a/core/modules/views_ui/tests/src/Functional/StorageTest.php b/core/modules/views_ui/tests/src/Functional/StorageTest.php
index df3d030..96e61e2 100644
--- a/core/modules/views_ui/tests/src/Functional/StorageTest.php
+++ b/core/modules/views_ui/tests/src/Functional/StorageTest.php
@@ -24,7 +24,7 @@ class StorageTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['views_ui', 'language'];
+ protected static $modules = ['views_ui', 'language'];
/**
* Tests changing label, description and tag.
diff --git a/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php b/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
index df42d8e..1c6941d 100644
--- a/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
@@ -16,7 +16,7 @@ class TokenizeAreaUITest extends UITestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['entity_test'];
+ protected static $modules = ['entity_test'];
/**
* Test that the right tokens are shown as available for replacement.
diff --git a/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php b/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
index 7238ffa..d85d74a 100644
--- a/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
+++ b/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
@@ -16,7 +16,7 @@ class TranslatedViewTest extends UITestBase {
*
* @var array
*/
- public static $modules = [
+ protected static $modules = [
'config_translation',
'views_ui',
];
diff --git a/core/modules/views_ui/tests/src/Functional/UITestBase.php b/core/modules/views_ui/tests/src/Functional/UITestBase.php
index db85773..c5e28d4 100644
--- a/core/modules/views_ui/tests/src/Functional/UITestBase.php
+++ b/core/modules/views_ui/tests/src/Functional/UITestBase.php
@@ -28,7 +28,7 @@ abstract class UITestBase extends ViewTestBase {
*
* @var array
*/
- public static $modules = ['node', 'views_ui', 'block', 'taxonomy'];
+ protected static $modules = ['node', 'views_ui', 'block', 'taxonomy'];
/**
* {@inheritdoc}
diff --git a/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php b/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
index 3265e1a..fe8dd99 100644
--- a/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
+++ b/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
@@ -26,7 +26,7 @@ class UnsavedPreviewTest extends UITestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node', 'views_ui'];
+ protected static $modules = ['node', 'views_ui'];
/**
* Sets up a Drupal site for running functional and integration tests.
diff --git a/core/modules/views_ui/tests/src/Functional/ViewsListTest.php b/core/modules/views_ui/tests/src/Functional/ViewsListTest.php
index 956ab9b..d4633e7 100644
--- a/core/modules/views_ui/tests/src/Functional/ViewsListTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ViewsListTest.php
@@ -17,7 +17,7 @@ class ViewsListTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['block', 'views_ui'];
+ protected static $modules = ['block', 'views_ui'];
/**
* A user with permission to administer views.
diff --git a/core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php b/core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php
index 8a2dd29..3b3fb1c 100644
--- a/core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php
@@ -31,7 +31,7 @@ class ViewsUITourTest extends TourTestBase {
*
* @var array
*/
- public static $modules = ['views_ui', 'tour', 'language', 'locale'];
+ protected static $modules = ['views_ui', 'tour', 'language', 'locale'];
protected function setUp() {
parent::setUp();
diff --git a/core/modules/views_ui/tests/src/Functional/XssTest.php b/core/modules/views_ui/tests/src/Functional/XssTest.php
index cabb48e..49a467e 100644
--- a/core/modules/views_ui/tests/src/Functional/XssTest.php
+++ b/core/modules/views_ui/tests/src/Functional/XssTest.php
@@ -14,7 +14,7 @@ class XssTest extends UITestBase {
*
* @var array
*/
- public static $modules = ['node', 'user', 'views_ui', 'views_ui_test'];
+ protected static $modules = ['node', 'user', 'views_ui', 'views_ui_test'];
public function testViewsUi() {
$this->drupalGet('admin/structure/views/view/sa_contrib_2013_035');
diff --git a/core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php
index 7dcaccd..bfe16bc 100644
--- a/core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php
+++ b/core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php
@@ -19,7 +19,7 @@ class DisplayTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
- public static $modules = [
+ protected static $modules = [
'block',
'contextual',
'node',
diff --git a/core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php
index 9e303df..07966ce 100644
--- a/core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php
+++ b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php
@@ -14,7 +14,7 @@ class FilterCriteriaTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node', 'views', 'views_ui'];
+ protected static $modules = ['node', 'views', 'views_ui'];
/**
* {@inheritdoc}
diff --git a/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php
index 6f2f625..2d7571f 100644
--- a/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php
+++ b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php
@@ -14,7 +14,7 @@ class FilterOptionsTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node', 'views', 'views_ui', 'views_ui_test_field'];
+ protected static $modules = ['node', 'views', 'views_ui', 'views_ui_test_field'];
/**
* {@inheritdoc}
diff --git a/core/modules/views_ui/tests/src/FunctionalJavascript/LibraryCachingTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/LibraryCachingTest.php
index b1b158b..5aab0af 100644
--- a/core/modules/views_ui/tests/src/FunctionalJavascript/LibraryCachingTest.php
+++ b/core/modules/views_ui/tests/src/FunctionalJavascript/LibraryCachingTest.php
@@ -14,7 +14,7 @@ class LibraryCachingTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node', 'views', 'views_ui'];
+ protected static $modules = ['node', 'views', 'views_ui'];
/**
* Tests if the Views UI dialogs open on consecutive requests.
diff --git a/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php
index fc696c0..a433deb 100644
--- a/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php
+++ b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php
@@ -15,7 +15,7 @@ class ViewsListingTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node', 'views', 'views_ui'];
+ protected static $modules = ['node', 'views', 'views_ui'];
/**
* {@inheritdoc}
diff --git a/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php
index 16369f1..d446db8 100644
--- a/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php
+++ b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php
@@ -15,7 +15,7 @@ class ViewsWizardTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
- public static $modules = ['node', 'views', 'views_ui', 'block', 'user'];
+ protected static $modules = ['node', 'views', 'views_ui', 'block', 'user'];
/**
* {@inheritdoc}
diff --git a/core/modules/views_ui/tests/src/Kernel/TagTest.php b/core/modules/views_ui/tests/src/Kernel/TagTest.php
index 44d3417..a612812 100644
--- a/core/modules/views_ui/tests/src/Kernel/TagTest.php
+++ b/core/modules/views_ui/tests/src/Kernel/TagTest.php
@@ -19,7 +19,7 @@ class TagTest extends ViewsKernelTestBase {
*
* @var array
*/
- public static $modules = ['views', 'views_ui', 'user'];
+ protected static $modules = ['views', 'views_ui', 'user'];
/**
* Tests the views_ui_autocomplete_tag function.