public function HtmlTitleViewsTest::testAdminContentViewAfterModuleUninstall in HTML Title 8
Test that views using 'node_html_title' plugin still work after uninstall.
File
- tests/
src/ Functional/ HtmlTitleViewsTest.php, line 165
Class
- HtmlTitleViewsTest
- Tests the HTML Title integration with Views.
Namespace
Drupal\Tests\html_title\FunctionalCode
public function testAdminContentViewAfterModuleUninstall() {
$this
->drupalGet('/test-interface-language');
$this
->assertSession()
->statusCodeEquals(200);
// Uninstall html_title_test and html_title.
$this
->drupalGet(Url::fromRoute('system.modules_uninstall'));
$this
->submitForm([
'uninstall[html_title_test]' => TRUE,
], 'Uninstall');
$this
->submitForm([], 'Uninstall');
$this
->submitForm([
'uninstall[html_title]' => TRUE,
], 'Uninstall');
$this
->submitForm([], 'Uninstall');
$this
->drupalGet('/test-interface-language');
$this
->assertSession()
->statusCodeEquals(200);
}