From 1fa35cb3b81687edb2a279b3c173a6fda3bcf62d Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 9 May 2024 18:49:36 +0200 Subject: [PATCH] test: Fix coverage & style check from c4295b3d --- test/spec/Feature/Query/PgSafeUpdateSpec.hs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/test/spec/Feature/Query/PgSafeUpdateSpec.hs b/test/spec/Feature/Query/PgSafeUpdateSpec.hs index 9e72dc32b..582ca8f39 100644 --- a/test/spec/Feature/Query/PgSafeUpdateSpec.hs +++ b/test/spec/Feature/Query/PgSafeUpdateSpec.hs @@ -1,7 +1,5 @@ module Feature.Query.PgSafeUpdateSpec where -import Data.Aeson.QQ - import Network.Wai (Application) import Network.HTTP.Types @@ -9,13 +7,7 @@ import Test.Hspec hiding (pendingWith) import Test.Hspec.Wai import Test.Hspec.Wai.JSON -import Protolude hiding (get, put) - -tblDataBefore = [aesonQQ|[ - { "id": 1, "name": "item-1", "observation": null } - , { "id": 2, "name": "item-2", "observation": null } - , { "id": 3, "name": "item-3", "observation": null } - ]|] +import Protolude hiding (get, put) spec :: SpecWith ((), Application) spec =