Skip to content

Commit

Permalink
add missing disableParamFiltering in test_graphql.nim
Browse files Browse the repository at this point in the history
if there is no `disableParamFiltering()`, and the test is run via
all_tests.nim, no test unit will be executed
  • Loading branch information
jangko committed May 4, 2021
1 parent 4460115 commit 10142ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_graphql.nim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# those terms.

import
std/[os, json],
std/[os, json, unittest],
stew/byteutils,
eth/[p2p, common, trie/db, rlp, trie],
eth/p2p/rlpx_protocols/eth_protocol,
Expand Down Expand Up @@ -98,6 +98,7 @@ proc graphqlMain*() =
when isMainModule:
ctx.main(caseFolder, purgeSchema = false)
else:
disableParamFiltering()
ctx.executeCases(caseFolder, purgeSchema = false)

when isMainModule:
Expand Down

0 comments on commit 10142ad

Please sign in to comment.