Skip to content

Commit 6f247cb

Browse files
committed
Add a deliberately failing test
1 parent ed53b77 commit 6f247cb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/test/groovy/graphql/schema/DataFetcherFactoriesTest.groovy

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ class DataFetcherFactoriesTest extends Specification {
1212

1313
def "testing the GitHub Action on failing tests"() {
1414
// TODO: I will remove this test before merging the PR. This is only to generate a test failure message.
15-
false
15+
def fetcherFactory = DataFetcherFactories.useDataFetcher(pojoDF)
16+
17+
when:
18+
def value = fetcherFactory.get(null).get(null)
19+
20+
then:
21+
value != "goodbye"
1622
}
1723

1824
def "delegation happens as expected"() {

0 commit comments

Comments
 (0)