Skip to content

Commit

Permalink
BLT-5237: Fix failing PHPUnit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkhode1 committed Apr 2, 2024
1 parent 1d94ad0 commit 6262eb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/phpunit/src/DrupalSettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ public function testSetupDefaultLocalSettings() {
$this->blt('blt:init:settings');
$sites = $this->config->get("multisites");

$this->assertFileExists("$this->sandboxInstance/docroot/sites/default/default.settings.php");
foreach ($sites as $site) {
$this->assertFileExists("$this->sandboxInstance/docroot/sites/$site/settings/default.local.settings.php");
$this->assertFileExists("$this->sandboxInstance/docroot/sites/$site/default.settings.php");
$this->assertFileExists("$this->sandboxInstance/docroot/sites/$site/settings/local.settings.php");
$this->assertFileExists("$this->sandboxInstance/docroot/sites/$site/settings/local.settings.php");

$this->assertStringContainsString('${drupal.db.database}', file_get_contents("$this->sandboxInstance/docroot/sites/$site/settings/default.local.settings.php"));
Expand Down

0 comments on commit 6262eb5

Please sign in to comment.