aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralpaylan2021-04-16 04:29:31 +0300
committeralpaylan2021-04-16 04:29:31 +0300
commitb36f22722b230a5944989c79923cb315e396261c (patch)
tree28d3f897528feeaf698ba3d101032c5239826b6c
parentee16f0e9f03d9d25c10419f3ab0013bbdc3e892e (diff)
downloadgradecoin-b36f22722b230a5944989c79923cb315e396261c.tar.gz
gradecoin-b36f22722b230a5944989c79923cb315e396261c.tar.bz2
gradecoin-b36f22722b230a5944989c79923cb315e396261c.zip
work on pending transactions test.
-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 e00510e..0b7628c 100644
--- a/tests/route_tests.rs
+++ b/tests/route_tests.rs
@@ -157,7 +157,7 @@ FQIDAQAB
157 157
158 assert_eq!(res.status(), StatusCode::OK); 158 assert_eq!(res.status(), StatusCode::OK);
159 159
160 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"}}"#; 160 let expected_json_body = r#"{"mock_transaction_source":{"by":"mock_transaction_source","source":"31415926535897932384626433832795028841971693993751058209749445923","target":"mock_transaction_source","amount":3,"timestamp":"2021-04-13T20:55:30"}}"#;
161 161
162 assert_eq!(res.body(), expected_json_body); 162 assert_eq!(res.body(), expected_json_body);
163 } 163 }