diff --git a/core/modules/update/src/Tests/UpdateUploadTest.php b/core/modules/update/src/Tests/UpdateUploadTest.php index c568fa5..24677b2 100644 --- a/core/modules/update/src/Tests/UpdateUploadTest.php +++ b/core/modules/update/src/Tests/UpdateUploadTest.php @@ -75,6 +75,14 @@ public function testUploadModule() { // module now exists in the expected place in the filesystem. $this->assertRaw(t('Installed %project_name successfully', array('%project_name' => 'update_test_new_module'))); $this->assertTrue(file_exists($installedInfoFilePath), 'The new module exists in the filesystem after it is installed with the Update Manager.'); + // Check that the link to install another module appears on the page and + // that the user can access it. + $this->assertLink(t('Install another module')); + $this->assertLinkByHref(Url::fromRoute('update.module_install')->toString()); + $this->assertLink(t('Enable newly added modules')); + $this->assertLinkByHref(Url::fromRoute('system.modules_list')->toString()); + $this->assertLink(t('Administration pages')); + $this->assertLinkByHref(Url::fromRoute('system.admin')->toString()); } /**