aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYigit Sever2021-04-14 22:40:33 +0300
committerYigit Sever2021-04-14 22:40:33 +0300
commit3f649d6233b06589480713f507924286d297e120 (patch)
tree6f7660e164a57da58f7708830de1ae5082ad975f /tests
parent0599e005daa03e1cf4dc8e238c1c803c1970beb2 (diff)
downloadgradecoin-3f649d6233b06589480713f507924286d297e120.tar.gz
gradecoin-3f649d6233b06589480713f507924286d297e120.tar.bz2
gradecoin-3f649d6233b06589480713f507924286d297e120.zip
Transactions return as dict
Diffstat (limited to 'tests')
-rw-r--r--tests/route_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/route_tests.rs b/tests/route_tests.rs
index 5c2d891..55a536d 100644
--- a/tests/route_tests.rs
+++ b/tests/route_tests.rs
@@ -98,7 +98,7 @@ sQIDAQAB
98 98
99 assert_eq!(res.status(), StatusCode::OK); 99 assert_eq!(res.status(), StatusCode::OK);
100 100
101 let expected_json_body = r#"[{"by":"source_public_key_signature","source":"source_public_key_signature","target":"target_public_key_signature","amount":3,"timestamp":"2021-04-13T20:55:30"}]"#; 101 let expected_json_body = r#"{"source_public_key_signature":{"by":"source_public_key_signature","source":"source_public_key_signature","target":"target_public_key_signature","amount":3,"timestamp":"2021-04-13T20:55:30"}}"#;
102 102
103 assert_eq!(res.body(), expected_json_body); 103 assert_eq!(res.body(), expected_json_body);
104 } 104 }