only in patch2: unchanged: --- /dev/null +++ b/core/modules/system/lib/Drupal/system/Tests/Form/ModuleListFormWebTest.php @@ -0,0 +1,44 @@ + 'Tests \Drupal\system\Form\ModulesListForm.', + 'name' => '\Drupal\system\Form\ModulesListForm web test', + 'group' => 'Module', + ); + } + + /** + * Tests the module list form. + */ + public function testModuleListForm() { + $this->drupalLogin($this->drupalCreateUser(array('administer modules'))); + $this->drupalGet('admin/modules'); + $this->assertResponse('200'); + + // Check that system_test's configure link was rendered correctly. + $this->assertLinkByHref('configure/bar'); + } +}