public function AdminToolbarToolsAlterTest::testAdminToolbarTools in Admin Toolbar 3.x
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()
- 8 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 54
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"');
}