mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
server/api-tests: Move tests that test errors into their own directory.
Named "Test.Queries.Errors". This also sorts the test list in _api-tests.cabal_. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7755 GitOrigin-RevId: 3b015a50e6de54c6573444b460b7977897f59738
This commit is contained in:
parent
52317930fe
commit
ac985c2235
@ -105,17 +105,6 @@ library
|
||||
Test.Auth.Authorization.DisableRootFields.SelectPermission.EnableAllRootFieldsSpec
|
||||
Test.Auth.Authorization.DisableRootFields.SelectPermission.EnablePKSpec
|
||||
Test.Auth.Authorization.DisableRootFields.SelectPermission.RelationshipSpec
|
||||
Test.Databases.BigQuery.Queries.SpatialTypesSpec
|
||||
Test.Databases.BigQuery.Queries.TypeInterpretationSpec
|
||||
Test.Databases.BigQuery.Schema.ComputedFields.TableSpec
|
||||
Test.Databases.Postgres.BackendOnlyPermissionsSpec
|
||||
Test.Databases.Postgres.DataValidation.PermissionSpec
|
||||
Test.Databases.Postgres.JsonbSpec
|
||||
Test.Databases.Postgres.TimestampSpec
|
||||
Test.Databases.Postgres.UniqueConstraintsSpec
|
||||
Test.Databases.SQLServer.DefaultValues.OnConflictSpec
|
||||
Test.Databases.SQLServer.InsertVarcharColumnSpec
|
||||
Test.Databases.SQLServer.VarcharLiteralsSpec
|
||||
Test.DataConnector.AggregateQuerySpec
|
||||
Test.DataConnector.MetadataApiSpec
|
||||
Test.DataConnector.MockAgent.AggregateQuerySpec
|
||||
@ -130,12 +119,23 @@ library
|
||||
Test.DataConnector.MockAgent.UpdateMutationsSpec
|
||||
Test.DataConnector.QuerySpec
|
||||
Test.DataConnector.SelectPermissionsSpec
|
||||
Test.Databases.BigQuery.Queries.SpatialTypesSpec
|
||||
Test.Databases.BigQuery.Queries.TypeInterpretationSpec
|
||||
Test.Databases.BigQuery.Schema.ComputedFields.TableSpec
|
||||
Test.Databases.Postgres.BackendOnlyPermissionsSpec
|
||||
Test.Databases.Postgres.DataValidation.PermissionSpec
|
||||
Test.Databases.Postgres.JsonbSpec
|
||||
Test.Databases.Postgres.TimestampSpec
|
||||
Test.Databases.Postgres.UniqueConstraintsSpec
|
||||
Test.Databases.SQLServer.DefaultValues.OnConflictSpec
|
||||
Test.Databases.SQLServer.InsertVarcharColumnSpec
|
||||
Test.Databases.SQLServer.VarcharLiteralsSpec
|
||||
Test.EventTriggers.EventTriggersSpecialCharactersSpec
|
||||
Test.EventTriggers.MSSQL.EventTriggerDropSourceCleanupSpec
|
||||
Test.EventTriggers.MSSQL.EventTriggerNextRetryAtTimezoneSpec
|
||||
Test.EventTriggers.MSSQL.EventTriggersForReplicationSpec
|
||||
Test.EventTriggers.MSSQL.EventTriggersUniqueNameSpec
|
||||
Test.EventTriggers.MSSQL.EventTriggersNameQuotingSpec
|
||||
Test.EventTriggers.MSSQL.EventTriggersUniqueNameSpec
|
||||
Test.EventTriggers.MSSQL.EventTriggersUntrackTableCleanupSpec
|
||||
Test.EventTriggers.PG.EventTriggersExtensionSchemaSpec
|
||||
Test.EventTriggers.PG.EventTriggersForReplicationSpec
|
||||
@ -162,15 +162,15 @@ library
|
||||
Test.Queries.AggregationSpec
|
||||
Test.Queries.CustomFunctions.PortedSpec
|
||||
Test.Queries.DistinctSpec
|
||||
Test.Queries.Errors.InvalidQuerySpec
|
||||
Test.Queries.Errors.MissingTableSpec
|
||||
Test.Queries.Errors.NoQueriesAvailableSpec
|
||||
Test.Queries.FilterSearch.AggregationPredicatesSpec
|
||||
Test.Queries.FilterSearch.FilterSearchSpec
|
||||
Test.Queries.NativeAccess.NativeAccessQueriesSpec
|
||||
Test.Queries.NestedObjectSpec
|
||||
Test.Queries.Paginate.LimitSpec
|
||||
Test.Queries.Paginate.OffsetSpec
|
||||
Test.Queries.Simple.InvalidQuerySpec
|
||||
Test.Queries.Simple.MissingTableSpec
|
||||
Test.Queries.Simple.NoQueriesAvailableSpec
|
||||
Test.Queries.Simple.ObjectQueriesSpec
|
||||
Test.Queries.Simple.OperationNameSpec
|
||||
Test.Queries.Simple.PrimaryKeySpec
|
||||
@ -189,13 +189,13 @@ library
|
||||
Test.Regression.InsertOnConflict8260Spec
|
||||
Test.Regression.LongIdentifiers3796Spec
|
||||
Test.Regression.MultiColumnObjectRelationshipsSpec
|
||||
Test.Regression.MultiplexQuerySpec
|
||||
Test.Regression.NullRemoteRelationship8345Spec
|
||||
Test.Regression.NullsOrderParsing8780Spec
|
||||
Test.Regression.ObjectRelationshipsLimit7936Spec
|
||||
Test.Regression.RemoteRelationshipStringifyNum8387Spec
|
||||
Test.Regression.StreamConflictSpec
|
||||
Test.Regression.UsingTheSameFunctionForRootFieldAndComputedField8643Spec
|
||||
Test.Regression.MultiplexQuerySpec
|
||||
Test.Schema.ComputedFields.ScalarSpec
|
||||
Test.Schema.ComputedFields.TableSpec
|
||||
Test.Schema.ConflictsSpec
|
||||
@ -217,9 +217,9 @@ library
|
||||
Test.Schema.RemoteRelationships.XToDBObjectRelationshipSpec
|
||||
Test.Schema.RemoteRelationships.XToRemoteSchemaRelationshipSpec
|
||||
Test.Schema.RemoteSchemaCustomizationSpec
|
||||
Test.Schema.TableRelationships.ArrayRelationshipsSpec
|
||||
Test.Schema.TableRelationships.CrossSchemaArrayRelationshipsSpec
|
||||
Test.Schema.TableRelationships.CrossSchemaObjectRelationshipsSpec
|
||||
Test.Schema.TableRelationships.ArrayRelationshipsSpec
|
||||
Test.Schema.TableRelationships.ObjectRelationshipsSpec
|
||||
Test.Schema.TableRelationships.PortedSpec
|
||||
Test.Schema.ViewsSpec
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- https://hasura.io/docs/latest/queries/postgres/simple-object-queries/#fetch-list-of-objects
|
||||
-- https://hasura.io/docs/latest/queries/ms-sql-server/simple-object-queries/#fetch-list-of-objects
|
||||
-- https://hasura.io/docs/latest/queries/bigquery/simple-object-queries/#fetch-list-of-objects
|
||||
module Test.Queries.Simple.InvalidQuerySpec (spec) where
|
||||
module Test.Queries.Errors.InvalidQuerySpec (spec) where
|
||||
|
||||
import Data.Aeson (Value)
|
||||
import Data.List.NonEmpty qualified as NE
|
@ -6,7 +6,7 @@
|
||||
-- https://hasura.io/docs/latest/queries/postgres/simple-object-queries/#fetch-list-of-objects
|
||||
-- https://hasura.io/docs/latest/queries/ms-sql-server/simple-object-queries/#fetch-list-of-objects
|
||||
-- https://hasura.io/docs/latest/queries/bigquery/simple-object-queries/#fetch-list-of-objects
|
||||
module Test.Queries.Simple.MissingTableSpec (spec) where
|
||||
module Test.Queries.Errors.MissingTableSpec (spec) where
|
||||
|
||||
import Data.Aeson (Value)
|
||||
import Data.List.NonEmpty qualified as NE
|
@ -2,7 +2,7 @@
|
||||
|
||||
-- |
|
||||
-- Can we see @no_queries_available@ or not?
|
||||
module Test.Queries.Simple.NoQueriesAvailableSpec (spec) where
|
||||
module Test.Queries.Errors.NoQueriesAvailableSpec (spec) where
|
||||
|
||||
import Data.Aeson (Value)
|
||||
import Data.List.NonEmpty qualified as NE
|
Loading…
Reference in New Issue
Block a user