diff --git a/core/modules/update/src/Tests/UpdateContribTest.php b/core/modules/update/src/Tests/UpdateContribTest.php index ec64cf8..82c3acc 100644 --- a/core/modules/update/src/Tests/UpdateContribTest.php +++ b/core/modules/update/src/Tests/UpdateContribTest.php @@ -351,7 +351,7 @@ function testUpdateBrokenFetchURL() { $this->config('update_test.settings')->set('system_info', $system_info)->save(); // Ensure that the update information is correct before testing. - $this->drupalGet('admin/reports/updates'); + update_get_available(TRUE); $xml_mapping = array( 'drupal' => '0.0', diff --git a/core/modules/update/src/Tests/UpdateUploadTest.php b/core/modules/update/src/Tests/UpdateUploadTest.php index b4b6181..f765184 100644 --- a/core/modules/update/src/Tests/UpdateUploadTest.php +++ b/core/modules/update/src/Tests/UpdateUploadTest.php @@ -36,7 +36,7 @@ protected function setUp() { */ public function testUploadModule() { // Ensure that the update information is correct before testing. - $this->drupalGet('admin/reports/updates'); + update_get_available(TRUE); // Images are not valid archives, so get one and try to install it. We // need an extra variable to store the result of drupalGetTestFiles()