You are here

class ClaroMenuUiJavascriptTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroMenuUiJavascriptTest
  2. 9 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroMenuUiJavascriptTest

Runs MenuUiJavascriptTest in Claro.

@group claro

Hierarchy

  • class \Drupal\FunctionalJavascriptTests\Theme\ClaroMenuUiJavascriptTest extends \Drupal\Tests\menu_ui\FunctionalJavascript\MenuUiJavascriptTest

Expanded class hierarchy of ClaroMenuUiJavascriptTest

See also

\Drupal\Tests\menu_ui\FunctionalJavascript\MenuUiJavascriptTest;

File

core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php, line 14

Namespace

Drupal\FunctionalJavascriptTests\Theme
View source
class ClaroMenuUiJavascriptTest extends MenuUiJavascriptTest {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'shortcut',
  ];

  /**
   * {@inheritdoc}
   */
  protected function setUp() : void {
    parent::setUp();
    $this->container
      ->get('theme_installer')
      ->install([
      'claro',
    ]);
    $this
      ->config('system.theme')
      ->set('default', 'claro')
      ->save();
  }

  /**
   * Intentionally empty method.
   *
   * Contextual links do not work in admin themes, so this is empty to prevent
   * this test running in the parent class.
   */
  public function testBlockContextualLinks() {
  }

}

Members