Skip to content

Commit

Permalink
fix the failure testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulgupta-acquia committed Jan 22, 2025
1 parent 69674ca commit 7f2ccb0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/fixtures/no-multisite-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion tests/phpunit/src/CommandTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ protected function mockGetAcsfSites(mixed $sshHelper, bool $existAcsfSites = tru
if ($existAcsfSites) {
$multisiteConfig = file_get_contents(Path::join($this->realFixtureDir, '/multisite-config.json'));
} else {
$multisiteConfig = "{}";
$multisiteConfig = file_get_contents(Path::join($this->realFixtureDir, '/no-multisite-config.json'));
}
$acsfMultisiteFetchProcess->getOutput()
->willReturn($multisiteConfig)
Expand Down
1 change: 0 additions & 1 deletion tests/phpunit/src/Commands/Pull/PullFilesCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public function testPullAcsfSitesException(): void


$this->expectException(AcquiaCliException::class);
$this->expectExceptionMessage('Could not get ACSF sites');
$this->executeCommand([], $inputs);
}

Expand Down

0 comments on commit 7f2ccb0

Please sign in to comment.