summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2017-03-04 12:27:34 -0600
committerxjm2017-03-04 12:27:34 -0600
commit47ec7f7d4f0146e1de578457028fbbf52ff1cfd0 (patch)
treeb727c5499b4e9806f21ce9dfc681b6eef33e1042
parentcd8aa44faea8c0d067664740b042be49da80e86b (diff)
Issue #2600836 by balagan, Sagar Ramgade, Chi, anil280988, joshi.rohit100, Jo Fitzgerald, vaplas, dawehner, alexpott, klausi: Make protected Simpletest test methods public for consistency
-rw-r--r--core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php2
-rw-r--r--core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php2
-rw-r--r--core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php2
-rw-r--r--core/modules/migrate_drupal_ui/src/Tests/d6/MigrateUpgrade6Test.php2
-rw-r--r--core/modules/migrate_drupal_ui/src/Tests/d7/MigrateUpgrade7Test.php2
-rw-r--r--core/modules/rest/src/Tests/Views/StyleSerializerTest.php2
-rw-r--r--core/modules/system/src/Tests/Pager/PagerTest.php4
-rw-r--r--core/modules/system/src/Tests/System/SiteMaintenanceTest.php2
-rw-r--r--core/modules/taxonomy/src/Tests/TermTranslationTest.php2
9 files changed, 10 insertions, 10 deletions
diff --git a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php
index 6de5467..2f5052b 100644
--- a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php
+++ b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php
@@ -158,7 +158,7 @@ class CKEditorLoadingTest extends WebTestBase {
/**
* Tests presence of essential configuration even without Internal's buttons.
*/
- protected function testLoadingWithoutInternalButtons() {
+ public function testLoadingWithoutInternalButtons() {
// Change the CKEditor text editor configuration to only have link buttons.
// This means:
// - 0 buttons are from \Drupal\ckeditor\Plugin\CKEditorPlugin\Internal
diff --git a/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php b/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php
index 2401d86..04f2048 100644
--- a/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php
+++ b/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php
@@ -21,7 +21,7 @@ class MigrateAccessTest extends WebTestBase {
/**
* Tests that only user 1 can access the migrate UI.
*/
- protected function testAccess() {
+ public function testAccess() {
$this->drupalLogin($this->rootUser);
$this->drupalGet('upgrade');
$this->assertResponse(200);
diff --git a/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php b/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php
index 8a09888..85a9e79 100644
--- a/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php
+++ b/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php
@@ -101,7 +101,7 @@ abstract class MigrateUpgradeTestBase extends WebTestBase {
/**
* Executes all steps of migrations upgrade.
*/
- protected function testMigrateUpgrade() {
+ public function testMigrateUpgrade() {
$connection_options = $this->sourceDatabase->getConnectionOptions();
$this->drupalGet('/upgrade');
$this->assertText('Upgrade a site by importing it into a clean and empty new install of Drupal 8. You will lose any existing configuration once you import your site into it. See the online documentation for Drupal site upgrades for more detailed information.');
diff --git a/core/modules/migrate_drupal_ui/src/Tests/d6/MigrateUpgrade6Test.php b/core/modules/migrate_drupal_ui/src/Tests/d6/MigrateUpgrade6Test.php
index 50829f0..404f21b 100644
--- a/core/modules/migrate_drupal_ui/src/Tests/d6/MigrateUpgrade6Test.php
+++ b/core/modules/migrate_drupal_ui/src/Tests/d6/MigrateUpgrade6Test.php
@@ -76,7 +76,7 @@ class MigrateUpgrade6Test extends MigrateUpgradeTestBase {
/**
* Executes all steps of migrations upgrade.
*/
- protected function testMigrateUpgrade() {
+ public function testMigrateUpgrade() {
parent::testMigrateUpgrade();
// Ensure migrated users can log in.
diff --git a/core/modules/migrate_drupal_ui/src/Tests/d7/MigrateUpgrade7Test.php b/core/modules/migrate_drupal_ui/src/Tests/d7/MigrateUpgrade7Test.php
index 77bc2ab..86f1ca9 100644
--- a/core/modules/migrate_drupal_ui/src/Tests/d7/MigrateUpgrade7Test.php
+++ b/core/modules/migrate_drupal_ui/src/Tests/d7/MigrateUpgrade7Test.php
@@ -77,7 +77,7 @@ class MigrateUpgrade7Test extends MigrateUpgradeTestBase {
/**
* Executes all steps of migrations upgrade.
*/
- protected function testMigrateUpgrade() {
+ public function testMigrateUpgrade() {
parent::testMigrateUpgrade();
// Ensure migrated users can log in.
diff --git a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
index 3c751b6..83a1548 100644
--- a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
+++ b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
@@ -219,7 +219,7 @@ class StyleSerializerTest extends PluginTestBase {
/**
* Verifies site maintenance mode functionality.
*/
- protected function testSiteMaintenance() {
+ public function testSiteMaintenance() {
$view = Views::getView('test_serializer_display_field');
$view->initDisplay();
$this->executeView($view);
diff --git a/core/modules/system/src/Tests/Pager/PagerTest.php b/core/modules/system/src/Tests/Pager/PagerTest.php
index 9aae6de..ba48499 100644
--- a/core/modules/system/src/Tests/Pager/PagerTest.php
+++ b/core/modules/system/src/Tests/Pager/PagerTest.php
@@ -67,7 +67,7 @@ class PagerTest extends WebTestBase {
/**
* Test proper functioning of the query parameters and the pager cache context.
*/
- protected function testPagerQueryParametersAndCacheContext() {
+ public function testPagerQueryParametersAndCacheContext() {
// First page.
$this->drupalGet('pager-test/query-parameters');
$this->assertText(t('Pager calls: 0'), 'Initial call to pager shows 0 calls.');
@@ -93,7 +93,7 @@ class PagerTest extends WebTestBase {
/**
* Test proper functioning of multiple pagers.
*/
- protected function testMultiplePagers() {
+ public function testMultiplePagers() {
// First page.
$this->drupalGet('pager-test/multiple-pagers');
diff --git a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
index 7f95592..e269a6c 100644
--- a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
+++ b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
@@ -38,7 +38,7 @@ class SiteMaintenanceTest extends WebTestBase {
/**
* Verifies site maintenance mode functionality.
*/
- protected function testSiteMaintenance() {
+ public function testSiteMaintenance() {
// Verify that permission message is displayed.
$permission_handler = $this->container->get('user.permissions');
diff --git a/core/modules/taxonomy/src/Tests/TermTranslationTest.php b/core/modules/taxonomy/src/Tests/TermTranslationTest.php
index c1425b7..ccb16f6 100644
--- a/core/modules/taxonomy/src/Tests/TermTranslationTest.php
+++ b/core/modules/taxonomy/src/Tests/TermTranslationTest.php
@@ -87,7 +87,7 @@ class TermTranslationTest extends TaxonomyTestBase {
/**
* Test translation of terms are showed in the node.
*/
- protected function testTermsTranslation() {
+ public function testTermsTranslation() {
// Set the display of the term reference field on the article content type
// to "Check boxes/radio buttons".