mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17:29:23 +00:00
fix: rpc test
This commit is contained in:
parent
d811009600
commit
d1c14ada55
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ void main() {
|
||||||
'{"jsonrpc": "2.0", "id": "some id","method": "server.ping","params": []}';
|
'{"jsonrpc": "2.0", "id": "some id","method": "server.ping","params": []}';
|
||||||
final result = await jsonRPC.request(jsonRequestString);
|
final result = await jsonRPC.request(jsonRequestString);
|
||||||
|
|
||||||
expect(result, {"jsonrpc": "2.0", "result": null, "id": "some id"});
|
expect(result.data, {"jsonrpc": "2.0", "result": null, "id": "some id"});
|
||||||
});
|
});
|
||||||
|
|
||||||
test("JsonRPC.request fails due to SocketException", () async {
|
test("JsonRPC.request fails due to SocketException", () async {
|
||||||
|
|
Loading…
Reference in a new issue