Skip to content

Commit 4e10665

Browse files
committed
fix test
1 parent 845b760 commit 4e10665

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/groovy/graphql/schema/PropertyDataFetcherClassLoadingTest.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class PropertyDataFetcherClassLoadingTest extends Specification {
2525
}
2626

2727
BrokenClass getBrokenThings() {
28-
return BrokenClass.cast(null)
28+
return new BrokenClass()
2929
}
3030
}
3131

@@ -35,10 +35,10 @@ class PropertyDataFetcherClassLoadingTest extends Specification {
3535

3636
def target = new TargetClass()
3737

38-
// when:
39-
// def value = okDF.get(fld("okThings"), target, { -> null })
40-
// then:
41-
// value == "ok"
38+
when:
39+
def value = okDF.get(fld("okThings"), target, { -> null })
40+
then:
41+
value == "ok"
4242

4343
when:
4444
brokenDF.get(fld("brokenThings"), target, { -> null })

0 commit comments

Comments
 (0)