Skip to content

Commit f4a4567

Browse files
committed
Enable test
1 parent 0aa4067 commit f4a4567

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/kotlin/graphql/kickstart/tools/DirectiveTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import graphql.relay.SimpleListConnection
77
import graphql.schema.*
88
import graphql.schema.idl.SchemaDirectiveWiring
99
import graphql.schema.idl.SchemaDirectiveWiringEnvironment
10-
import org.junit.Ignore
1110
import org.junit.Test
1211

1312
class 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

0 commit comments

Comments
 (0)