Skip to content

Commit

Permalink
Enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
oryan-block committed Nov 15, 2023
1 parent 0aa4067 commit f4a4567
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/kotlin/graphql/kickstart/tools/DirectiveTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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(
Expand All @@ -267,6 +265,7 @@ class DirectiveTest {
""")
.resolvers(QueryResolver())
.directive("allowed", AllowedDirective())
.dictionary(AllowedState::class)
.build()
.makeExecutableSchema()

Expand Down

0 comments on commit f4a4567

Please sign in to comment.