From caade89cf554ef2e8f44b7ee8a2fdff0af1210df Mon Sep 17 00:00:00 2001 From: Korvin Szanto Date: Thu, 15 Feb 2024 11:26:18 -0800 Subject: [PATCH] Replace more getHeader calls --- test/src/Grant/GrantTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/Grant/GrantTestCase.php b/test/src/Grant/GrantTestCase.php index 5451b331..125c66ce 100644 --- a/test/src/Grant/GrantTestCase.php +++ b/test/src/Grant/GrantTestCase.php @@ -65,7 +65,7 @@ public function testGetAccessToken($grant, array $params = []) ->shouldReceive('getHeader') ->once() ->with('content-type') - ->andReturn('application/json'); + ->andReturn(['application/json']); /** @var ClientInterface & MockInterface $client */ $client = Mockery::spy(ClientInterface::class)->makePartial();