Unverified Commit 311db38d authored by lauriii's avatar lauriii
Browse files

Issue #3155221 by andypost, jhodgdon: Remove outdated todo and link to 3086795

parent b2a49d3a
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
* Verify the search results using administration theme for specific plugins. * Verify the search results using administration theme for specific plugins.
* *
* @see \Drupal\search\Annotation\SearchPlugin::$use_admin_theme * @see \Drupal\search\Annotation\SearchPlugin::$use_admin_theme
* @see \Drupal\search\Routing\SearchPageRoutes::routes()
* @see \Drupal\Tests\system\Functional\System\ThemeTest::testAdministrationTheme() * @see \Drupal\Tests\system\Functional\System\ThemeTest::testAdministrationTheme()
* *
* @group search * @group search
...@@ -77,11 +78,11 @@ public function testSearchUsingAdminTheme() { ...@@ -77,11 +78,11 @@ public function testSearchUsingAdminTheme() {
$this->drupalGet($path); $this->drupalGet($path);
$session = $this->assertSession(); $session = $this->assertSession();
// Make sure help plugin rendered help link. // Make sure help plugin rendered help link.
// @todo Test label in https://www.drupal.org/node/3086795
$path_help = $path . '/help'; $path_help = $path . '/help';
$session->linkByHrefExists($path_help); $session->linkByHrefExists($path_help);
$this->assertSame($use_admin_theme, $plugin->usesAdminTheme()); $this->assertSame($use_admin_theme, $plugin->usesAdminTheme());
$this->assertAdminTheme($use_admin_theme); $this->assertAdminTheme($use_admin_theme);
// Make sure that search help also rendered in admin theme.
$this->drupalGet($path_help); $this->drupalGet($path_help);
$this->assertAdminTheme($use_admin_theme); $this->assertAdminTheme($use_admin_theme);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment