-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ui_patterns_library): Test only to demonstrate failure
- Loading branch information
1 parent
cd03369
commit d239fa9
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...patterns_library/tests/src/FunctionalJavascript/UiPatternsLibraryAlternativeThemeTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
namespace Drupal\Tests\ui_patterns_library\FunctionalJavascript; | ||
|
||
/** | ||
* Test patterns overview page displays for non-default themes. | ||
* | ||
* @group ui_patterns_library | ||
*/ | ||
class UiPatternsLibraryOverviewTest extends UiPatternsLibraryOverviewTest { | ||
|
||
/** | ||
* Default theme. | ||
* | ||
* @var string | ||
*/ | ||
protected $defaultTheme = 'stark'; | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function setUp(): void { | ||
parent::setUp(); | ||
|
||
$active_theme = $this->container->get('theme.initialization')->initTheme('ui_patterns_library_theme_test'); | ||
$this->container->get('theme.manager')->setActiveTheme($active_theme); | ||
} | ||
|
||
} |