Commit 47ec7f7d authored by xjm's avatar xjm

Issue #2600836 by balagan, Sagar Ramgade, Chi, anil280988, joshi.rohit100, Jo...

Issue #2600836 by balagan, Sagar Ramgade, Chi, anil280988, joshi.rohit100, Jo Fitzgerald, vaplas, dawehner, alexpott, klausi: Make protected Simpletest test methods public for consistency
parent cd8aa44f
......@@ -158,7 +158,7 @@ function testLoading() {
/**
* 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
......
......@@ -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);
......
......@@ -101,7 +101,7 @@ protected function tearDown() {
/**
* 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.');
......
......@@ -76,7 +76,7 @@ protected function getEntityCounts() {
/**
* Executes all steps of migrations upgrade.
*/
protected function testMigrateUpgrade() {
public function testMigrateUpgrade() {
parent::testMigrateUpgrade();
// Ensure migrated users can log in.
......
......@@ -77,7 +77,7 @@ protected function getEntityCounts() {
/**
* Executes all steps of migrations upgrade.
*/
protected function testMigrateUpgrade() {
public function testMigrateUpgrade() {
parent::testMigrateUpgrade();
// Ensure migrated users can log in.
......
......@@ -219,7 +219,7 @@ public function testSerializerResponses() {
/**
* Verifies site maintenance mode functionality.
*/
protected function testSiteMaintenance() {
public function testSiteMaintenance() {
$view = Views::getView('test_serializer_display_field');
$view->initDisplay();
$this->executeView($view);
......
......@@ -67,7 +67,7 @@ function testActiveClass() {
/**
* 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 @@ protected function testPagerQueryParametersAndCacheContext() {
/**
* Test proper functioning of multiple pagers.
*/
protected function testMultiplePagers() {
public function testMultiplePagers() {
// First page.
$this->drupalGet('pager-test/multiple-pagers');
......
......@@ -38,7 +38,7 @@ protected function setUp() {
/**
* Verifies site maintenance mode functionality.
*/
protected function testSiteMaintenance() {
public function testSiteMaintenance() {
// Verify that permission message is displayed.
$permission_handler = $this->container->get('user.permissions');
......
......@@ -87,7 +87,7 @@ public function testTranslatedBreadcrumbs() {
/**
* 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".
......
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