Skip to content

Commit

Permalink
Merge pull request #732 from localgovdrupal/fix/3.x/731-test-failure
Browse files Browse the repository at this point in the history
Test content locking with the Claro theme
  • Loading branch information
stephen-cox committed Jun 19, 2024
2 parents 4b409e3 + acc22fe commit 9603d0a
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ class ContentLockTest extends BrowserTestBase {
'localgov_content_lock',
];

/**
* Set up tests.
*/
protected function setUp(): void {
parent::setUp();

// Use Claro for testing as there are problems with the Gin theme.
// See https://github.com/localgovdrupal/localgov/issues/731
$this->assertTrue(\Drupal::service('theme_installer')->install(['claro']));
$this->container->get('config.factory')
->getEditable('system.theme')
->set('default', 'claro')
->set('admin', 'claro')
->save();
}

/**
* Test content lock configuration.
*/
Expand Down

0 comments on commit 9603d0a

Please sign in to comment.