diff --git a/core/modules/field/src/Tests/Timestamp/TimestampFormatterTest.php b/core/modules/field/src/Tests/Timestamp/TimestampFormatterTest.php
index 8ef98d6..2829c70 100644
--- a/core/modules/field/src/Tests/Timestamp/TimestampFormatterTest.php
+++ b/core/modules/field/src/Tests/Timestamp/TimestampFormatterTest.php
@@ -104,7 +104,7 @@ protected function renderEntityFields(FieldableEntityInterface $entity, EntityVi
   /**
    * Tests TimestampFormatter.
    */
-  protected function testTimestampFormatter() {
+  public function testTimestampFormatter() {
     $data = [];
 
     // Test standard formats.
@@ -142,7 +142,7 @@ protected function testTimestampFormatter() {
   /**
    * Tests TimestampAgoFormatter.
    */
-  protected function testTimestampAgoFormatter() {
+  public function testTimestampAgoFormatter() {
     $data = [];
 
     foreach (array(1,2,3,4,5,6) as $granularity) {
diff --git a/core/modules/rest/src/Tests/CreateTest.php b/core/modules/rest/src/Tests/CreateTest.php
index 77f70be..22280a8 100644
--- a/core/modules/rest/src/Tests/CreateTest.php
+++ b/core/modules/rest/src/Tests/CreateTest.php
@@ -231,7 +231,7 @@ public function testCreateNode() {
   /**
    * Test comment creation.
    */
-  protected function testCreateComment() {
+  public function testCreateComment() {
     $node = Node::create([
       'type' => 'resttest',
       'title' => 'some node',
diff --git a/core/modules/system/src/Tests/Pager/PagerTest.php b/core/modules/system/src/Tests/Pager/PagerTest.php
index 4d7e0a1..d14f053 100644
--- a/core/modules/system/src/Tests/Pager/PagerTest.php
+++ b/core/modules/system/src/Tests/Pager/PagerTest.php
@@ -50,7 +50,7 @@ protected function setUp() {
   /**
    * Tests markup and CSS classes of pager links.
    */
-  function testActiveClass() {
+  public function testActiveClass() {
     // Verify first page.
     $this->drupalGet('admin/reports/dblog');
     $current_page = 0;
@@ -72,7 +72,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.');
diff --git a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
index b89dc81..89e1732 100644
--- a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
+++ b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
@@ -43,7 +43,7 @@ protected function setUp() {
   /**
    * Verify site maintenance mode functionality.
    */
-  protected function testSiteMaintenance() {
+  public function testSiteMaintenance() {
     $this->drupalGet(Url::fromRoute('user.page'));
     // JS should be aggregated, so drupal.js is not in the page source.
     $links = $this->xpath('//script[contains(@src, :href)]', array(':href' => '/core/misc/drupal.js'));
diff --git a/core/modules/system/tests/modules/condition_test/src/Tests/OptionalContextConditionTest.php b/core/modules/system/tests/modules/condition_test/src/Tests/OptionalContextConditionTest.php
index d2b4ed0..fbc3ee0 100644
--- a/core/modules/system/tests/modules/condition_test/src/Tests/OptionalContextConditionTest.php
+++ b/core/modules/system/tests/modules/condition_test/src/Tests/OptionalContextConditionTest.php
@@ -28,7 +28,7 @@ class OptionalContextConditionTest extends KernelTestBase {
   /**
    * Tests with both contexts mapped to the same user.
    */
-  protected function testContextMissing() {
+  public function testContextMissing() {
     /** @var \Drupal\Core\Condition\ConditionPluginBase $condition */
     $condition = \Drupal::service('plugin.manager.condition')
       ->createInstance('condition_test_optional_context')
@@ -42,7 +42,7 @@ protected function testContextMissing() {
   /**
    * Tests with both contexts mapped to the same user.
    */
-  protected function testContextNoValue() {
+  public function testContextNoValue() {
     /** @var \Drupal\Core\Condition\ConditionPluginBase $condition */
     $condition = \Drupal::service('plugin.manager.condition')
       ->createInstance('condition_test_optional_context')
@@ -58,7 +58,7 @@ protected function testContextNoValue() {
   /**
    * Tests with both contexts mapped to the same user.
    */
-  protected function testContextAvailable() {
+  public function testContextAvailable() {
     NodeType::create(['type' => 'example', 'name' => 'Example'])->save();
     /** @var \Drupal\Core\Condition\ConditionPluginBase $condition */
     $condition = \Drupal::service('plugin.manager.condition')
