add missing disableParamFiltering in test_graphql.nim

if there is no `disableParamFiltering()`, and the test is run via
all_tests.nim, no test unit will be executed
This commit is contained in:
jangko 2021-05-03 16:06:19 +07:00
parent 44601157f3
commit 10142ad711
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9

View File

@ -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,
@ -98,6 +98,7 @@ proc graphqlMain*() =
when isMainModule:
ctx.main(caseFolder, purgeSchema = false)
else:
disableParamFiltering()
ctx.executeCases(caseFolder, purgeSchema = false)
when isMainModule: