From 8bc298daa45f0b62371d64a3d193d8a9242b76e1 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 17 Jan 2023 11:06:41 +1100 Subject: [PATCH] Add checks for content type of statement object --- tests/Feature/ClientApiTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Feature/ClientApiTest.php b/tests/Feature/ClientApiTest.php index 45813aa56d2d..5d561c346d8f 100644 --- a/tests/Feature/ClientApiTest.php +++ b/tests/Feature/ClientApiTest.php @@ -78,6 +78,8 @@ class ClientApiTest extends TestCase nlog($message); } + $this->assertTrue($response->headers->get('content-type') == 'application/pdf'); + $response->assertStatus(200); }