From cd503993afd2941713851181b6a1d03c5dfa4132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Gr=C3=BCneberg?= Date: Mon, 1 Feb 2021 13:41:46 +0100 Subject: [PATCH] Fix HTTP headers test --- .../io/supabase/postgrest/http/PostgrestHttpClientApacheTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/kotlin/io/supabase/postgrest/http/PostgrestHttpClientApacheTest.kt b/src/test/kotlin/io/supabase/postgrest/http/PostgrestHttpClientApacheTest.kt index 9e0e442..dbbdd4d 100644 --- a/src/test/kotlin/io/supabase/postgrest/http/PostgrestHttpClientApacheTest.kt +++ b/src/test/kotlin/io/supabase/postgrest/http/PostgrestHttpClientApacheTest.kt @@ -43,6 +43,7 @@ internal class PostgrestHttpClientApacheTest { val httpResponse = mockk() every { httpResponse.code } returns 200 every { httpResponse.entity } returns null + every { httpResponse.headers } returns emptyArray() val requestCapture = mockHttpCallWithGetRequest(httpResponse)