From 6262eb545a5a3305763f8f945df522a2e88e7113 Mon Sep 17 00:00:00 2001 From: Vishal Khode Date: Wed, 3 Apr 2024 00:42:48 +0530 Subject: [PATCH] BLT-5237: Fix failing PHPUnit tests. --- tests/phpunit/src/DrupalSettingsTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/phpunit/src/DrupalSettingsTest.php b/tests/phpunit/src/DrupalSettingsTest.php index 412464627..4c93e7432 100644 --- a/tests/phpunit/src/DrupalSettingsTest.php +++ b/tests/phpunit/src/DrupalSettingsTest.php @@ -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"));