fix: wrong subquery error returning as 400 status

This commit is contained in:
steve-chavez
2024-02-02 22:08:56 -05:00
committed by Steve Chavez
parent bbc0bda6f5
commit 45cabacdcc
5 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -152,6 +152,7 @@ main = do
, ("Feature.Query.RelatedQueriesSpec" , Feature.Query.RelatedQueriesSpec.spec)
, ("Feature.Query.SpreadQueriesSpec" , Feature.Query.SpreadQueriesSpec.spec)
, ("Feature.NoSuperuserSpec" , Feature.NoSuperuserSpec.spec)
, ("Feature.Query.PgErrorCodeMappingSpec" , Feature.Query.ErrorSpec.pgErrorCodeMapping)
]
hspec $ do
@@ -211,7 +212,7 @@ main = do
-- this test runs with a nonexistent db-schema
parallel $ before nonexistentSchemaApp $
describe "Feature.Query.ErrorSpec" Feature.Query.ErrorSpec.spec
describe "Feature.Query.NonExistentSchemaErrorSpec" Feature.Query.ErrorSpec.nonExistentSchema
-- this test runs with an extra search path
parallel $ before extraSearchPathApp $ do