From 8fae8d7e76fd804cd9c12fe1f0251b48bd2a696d Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Mon, 18 Nov 2024 14:25:52 -0800 Subject: [PATCH] fix test --- tests/phpunit/src/Commands/Api/ApiCommandTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/phpunit/src/Commands/Api/ApiCommandTest.php b/tests/phpunit/src/Commands/Api/ApiCommandTest.php index 447d3ed23..5af44fb2d 100644 --- a/tests/phpunit/src/Commands/Api/ApiCommandTest.php +++ b/tests/phpunit/src/Commands/Api/ApiCommandTest.php @@ -61,6 +61,9 @@ public function testTaskWait(): void public function testArgumentsInteraction(): void { + $this->clientProphecy->addOption('headers', ['Accept' => 'application/hal+json, version=2']) + ->shouldBeCalled(); + $this->mockRequest('getEnvironmentsLog', ['289576-53785bca-1946-4adc-a022-e50d24686c20', 'apache-access']); $this->command = $this->getApiCommandByName('api:environments:log-download'); $this->executeCommand([], [ '289576-53785bca-1946-4adc-a022-e50d24686c20',