Move EnumSpec into the Schema directory

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5324
GitOrigin-RevId: 50aa48c1ef42ee73b76742ab934ab90c5153b855
This commit is contained in:
Tom Harding 2022-08-08 11:55:31 +01:00 committed by hasura-bot
parent fdb3748a96
commit 59d5853a95
2 changed files with 6 additions and 2 deletions

View File

@ -1252,7 +1252,6 @@ test-suite tests-hspec
Test.LongIdentifiersSpec
Test.Mutations.MultiplePerRequest.UpdateManySpec
Test.ObjectRelationshipsLimitSpec
Test.Postgres.EnumSpec
Test.Postgres.TimestampSpec
Test.Postgres.UniqueConstraintsSpec
Test.Queries.Directives.IncludeAndSkipSpec
@ -1286,6 +1285,7 @@ test-suite tests-hspec
Test.Schema.DataValidation.PermissionSpec
Test.Schema.DataValidation.PermissionSpec
Test.Schema.DefaultValuesSpec
Test.Schema.EnumSpec
Test.Schema.TableRelationships.ArrayRelationshipsSpec
Test.Schema.TableRelationships.ObjectRelationshipsSpec
Test.ServiceLivenessSpec

View File

@ -1,6 +1,10 @@
{-# LANGUAGE QuasiQuotes #-}
module Test.Postgres.EnumSpec (spec) where
-- |
-- Tests for interacting with enum fields.
--
-- https://hasura.io/docs/latest/schema/postgres/enums/
module Test.Schema.EnumSpec (spec) where
import Data.Aeson (Value)
import Data.List.NonEmpty qualified as NE