Skip to content

Commit

Permalink
Test stability (#2903)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbakerman authored Jul 26, 2022
1 parent a507570 commit b1f96e7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/test/groovy/graphql/parser/ParserTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ import spock.lang.Unroll

class ParserTest extends Specification {

static defaultOptions = ParserOptions.getDefaultParserOptions()
static defaultOperationOptions = ParserOptions.getDefaultOperationParserOptions()
static defaultSdlOptions = ParserOptions.getDefaultSdlParserOptions()

void setup() {
ParserOptions.setDefaultParserOptions(defaultOptions)
ParserOptions.setDefaultOperationParserOptions(defaultOperationOptions)
ParserOptions.setDefaultSdlParserOptions(defaultSdlOptions)
}

void cleanup() {
ParserOptions.setDefaultParserOptions(defaultOptions)
ParserOptions.setDefaultOperationParserOptions(defaultOperationOptions)
ParserOptions.setDefaultSdlParserOptions(defaultSdlOptions)
}


def "parse anonymous simple query"() {
given:
Expand Down

0 comments on commit b1f96e7

Please sign in to comment.