Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

feat: add integration test #352

Merged
merged 12 commits into from
Dec 20, 2021
Prev Previous commit
Next Next commit
feat: Add get_db_info integration test cases
fjchen7 committed Dec 20, 2021
commit a461b60eb3074e0a3793d14e7bd6c2692609cf1e
11 changes: 11 additions & 0 deletions integration-test/rpc/get_db_info/get_db_info_ok.hurl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
POST {{mercury_testnet_host}}
{
"jsonrpc": "2.0",
"method": "get_db_info",
"params": [],
"id": 100
}

HTTP/1.1 200
[Asserts]
jsonpath "$.result.db" == "PostgreSQL"