Skip to content
Snippets Groups Projects
Commit 1a61f0f0 authored by Sascha Eggenberger's avatar Sascha Eggenberger Committed by Sascha Eggenberger
Browse files

Issue #3155687 by saschaeggi: Fix failing tests

parent df4e66d3
No related branches found
Tags 1.2.0 8.x-1.2
No related merge requests found
......@@ -22,16 +22,18 @@ class GinTest extends BrowserTestBase {
*/
public static $modules = ['shortcut'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'gin';
/**
* Sets up the test.
*/
public function setUp() {
parent::setUp();
$this->assertTrue(\Drupal::service('theme_installer')->install(['gin']));
$this->container->get('config.factory')
->getEditable('system.theme')
->set('default', 'gin')
->save();
$adminUser = $this->drupalCreateUser(['access administration pages', 'administer themes']);
$this->drupalLogin($adminUser);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment