diff --git a/core/modules/update/tests/src/Functional/UpdateContribTest.php b/core/modules/update/tests/src/Functional/UpdateContribTest.php index 30898f0c2d9d6851cbb68d9ba56c058a5a65b909..4a55f9d44027909f8e49311405eb18ab6a384f07 100644 --- a/core/modules/update/tests/src/Functional/UpdateContribTest.php +++ b/core/modules/update/tests/src/Functional/UpdateContribTest.php @@ -63,7 +63,6 @@ public function testNoReleasesAvailable() { ]; $this->config('update_test.settings')->set('system_info', $system_info)->save(); $this->refreshUpdateStatus(['drupal' => '0.0', 'aaa_update_test' => 'no-releases']); - $this->drupalGet('admin/reports/updates'); // Cannot use $this->standardTests() because we need to check for the // 'No available releases found' string. $this->assertSession()->responseContains('<h3>Drupal core</h3>'); @@ -277,9 +276,6 @@ public function testNormalUpdateAvailable() { 'aaa_update_test' => str_replace('.', '_', $version) . $extra_version, ]); $this->standardTests(); - $this->drupalGet('admin/reports/updates'); - $this->clickLink('Check manually'); - $this->checkForMetaRefresh(); $assert_session->pageTextNotContains('Security update required!'); // The XML test fixtures for this method all contain the '8.x-3.0' // release but because '8.x-3.0' is not in a supported branch it will @@ -550,7 +546,6 @@ public function testHookUpdateStatusAlter() { 'aaa_update_test' => '1_0', ] ); - $this->drupalGet('admin/reports/updates'); $this->assertSession()->responseContains('<h3>Modules</h3>'); $this->assertSession()->pageTextContains('Security update required!'); $this->assertSession()->linkExists('AAA Update test'); diff --git a/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php b/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php index 348927bf8a0f6ca442721b35f928aac0dbb44538..03bdb3c7e7f36f192b79edd544a460d3ed524fb8 100644 --- a/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php +++ b/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php @@ -93,9 +93,6 @@ public function testNormalUpdateAvailable() { $full_version = "8.$minor_version.1$extra_version"; $this->refreshUpdateStatus([$this->updateProject => "$minor_version.1" . $extra_version]); $this->standardTests(); - $this->drupalGet('admin/reports/updates'); - $this->clickLink('Check manually'); - $this->checkForMetaRefresh(); $this->assertUpdateTableTextNotContains('Security update required!'); // The XML test fixtures for this method all contain the '8.2.0' release // but because '8.2.0' is not in a supported branch it will not be in @@ -158,9 +155,6 @@ public function testMajorUpdateAvailable() { $this->setProjectInstalledVersion("8.$minor_version.$patch_version" . $extra_version); $this->refreshUpdateStatus([$this->updateProject => '9']); $this->standardTests(); - $this->drupalGet('admin/reports/updates'); - $this->clickLink('Check manually'); - $this->checkForMetaRefresh(); $this->assertUpdateTableTextNotContains('Security update required!'); $this->assertUpdateTableElementContains(Link::fromTextAndUrl('9.0.0', Url::fromUri("http://example.com/{$this->updateProject}-9-0-0-release"))->toString()); $this->assertUpdateTableElementContains(Link::fromTextAndUrl('Download', Url::fromUri("http://example.com/{$this->updateProject}-9-0-0.tar.gz"))->toString());