ClaroMenuUiJavascriptTest.php 867 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace Drupal\FunctionalJavascriptTests\Theme;
  3. use Drupal\Tests\menu_ui\FunctionalJavascript\MenuUiJavascriptTest;
  4. /**
  5. * Runs MenuUiJavascriptTest in Claro.
  6. *
  7. * @group claro
  8. *
  9. * @see \Drupal\Tests\menu_ui\FunctionalJavascript\MenuUiJavascriptTest;
  10. */
  11. class ClaroMenuUiJavascriptTest extends MenuUiJavascriptTest {
  12. /**
  13. * {@inheritdoc}
  14. */
  15. protected static $modules = [
  16. 'shortcut',
  17. ];
  18. /**
  19. * {@inheritdoc}
  20. */
  21. protected function setUp() {
  22. parent::setUp();
  23. $this->container->get('theme_installer')->install(['claro']);
  24. $this->config('system.theme')->set('default', 'claro')->save();
  25. }
  26. /**
  27. * Intentionally empty method.
  28. *
  29. * Contextual links do not work in admin themes, so this is empty to prevent
  30. * this test running in the parent class.
  31. */
  32. public function testBlockContextualLinks() {
  33. }
  34. }