File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/test/kotlin/graphql/kickstart/tools Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import graphql.relay.SimpleListConnection
77import graphql.schema.*
88import graphql.schema.idl.SchemaDirectiveWiring
99import graphql.schema.idl.SchemaDirectiveWiringEnvironment
10- import org.junit.Ignore
1110import org.junit.Test
1211
1312class DirectiveTest {
@@ -244,7 +243,6 @@ class DirectiveTest {
244243 }
245244
246245 @Test
247- @Ignore(" Ignore until enums work in directives" )
248246 fun `should compile schema with directive that has enum parameter` () {
249247 val schema = SchemaParser .newParser()
250248 .schemaString(
@@ -267,6 +265,7 @@ class DirectiveTest {
267265 """ )
268266 .resolvers(QueryResolver ())
269267 .directive(" allowed" , AllowedDirective ())
268+ .dictionary(AllowedState ::class )
270269 .build()
271270 .makeExecutableSchema()
272271
You can’t perform that action at this time.
0 commit comments