public function AdminToolbarToolsAlterTest::testAdminToolbarTools in Admin Toolbar 8
Same name and namespace in other branches
- 8.2 admin_toolbar_tools/tests/src/Functional/AdminToolbarToolsAlterTest.php \Drupal\Tests\admin_toolbar_tools\Functional\AdminToolbarToolsAlterTest::testAdminToolbarTools()
- 3.x admin_toolbar_tools/tests/src/Functional/AdminToolbarToolsAlterTest.php \Drupal\Tests\admin_toolbar_tools\Functional\AdminToolbarToolsAlterTest::testAdminToolbarTools()
Tests for the hover of sub menus.
File
- admin_toolbar_tools/
tests/ src/ Functional/ AdminToolbarToolsAlterTest.php, line 49
Class
- AdminToolbarToolsAlterTest
- Tests for the existence of Admin Toolbar tools new links.
Namespace
Drupal\Tests\admin_toolbar_tools\FunctionalCode
public function testAdminToolbarTools() {
// Assert that special menu items are present in the HTML.
$this
->assertSession()
->responseContains('class="toolbar-icon toolbar-icon-admin-toolbar-tools-flush"');
}