File tree 1 file changed +1
-2
lines changed
src/test/kotlin/graphql/kickstart/tools
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
7
7
import graphql.schema.*
8
8
import graphql.schema.idl.SchemaDirectiveWiring
9
9
import graphql.schema.idl.SchemaDirectiveWiringEnvironment
10
- import org.junit.Ignore
11
10
import org.junit.Test
12
11
13
12
class DirectiveTest {
@@ -244,7 +243,6 @@ class DirectiveTest {
244
243
}
245
244
246
245
@Test
247
- @Ignore(" Ignore until enums work in directives" )
248
246
fun `should compile schema with directive that has enum parameter` () {
249
247
val schema = SchemaParser .newParser()
250
248
.schemaString(
@@ -267,6 +265,7 @@ class DirectiveTest {
267
265
""" )
268
266
.resolvers(QueryResolver ())
269
267
.directive(" allowed" , AllowedDirective ())
268
+ .dictionary(AllowedState ::class )
270
269
.build()
271
270
.makeExecutableSchema()
272
271
You can’t perform that action at this time.
0 commit comments