From f4a45677603810651a2075df80c758362a465fa2 Mon Sep 17 00:00:00 2001 From: oryan Date: Wed, 15 Nov 2023 11:01:27 -0500 Subject: [PATCH] Enable test --- src/test/kotlin/graphql/kickstart/tools/DirectiveTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/kotlin/graphql/kickstart/tools/DirectiveTest.kt b/src/test/kotlin/graphql/kickstart/tools/DirectiveTest.kt index b7d8150f..912b3501 100644 --- a/src/test/kotlin/graphql/kickstart/tools/DirectiveTest.kt +++ b/src/test/kotlin/graphql/kickstart/tools/DirectiveTest.kt @@ -7,7 +7,6 @@ import graphql.relay.SimpleListConnection import graphql.schema.* import graphql.schema.idl.SchemaDirectiveWiring import graphql.schema.idl.SchemaDirectiveWiringEnvironment -import org.junit.Ignore import org.junit.Test class DirectiveTest { @@ -244,7 +243,6 @@ class DirectiveTest { } @Test - @Ignore("Ignore until enums work in directives") fun `should compile schema with directive that has enum parameter`() { val schema = SchemaParser.newParser() .schemaString( @@ -267,6 +265,7 @@ class DirectiveTest { """) .resolvers(QueryResolver()) .directive("allowed", AllowedDirective()) + .dictionary(AllowedState::class) .build() .makeExecutableSchema()