diff options
author | alpaylan | 2021-04-16 04:29:31 +0300 |
---|---|---|
committer | alpaylan | 2021-04-16 04:29:31 +0300 |
commit | b36f22722b230a5944989c79923cb315e396261c (patch) | |
tree | 28d3f897528feeaf698ba3d101032c5239826b6c /tests | |
parent | ee16f0e9f03d9d25c10419f3ab0013bbdc3e892e (diff) | |
download | gradecoin-b36f22722b230a5944989c79923cb315e396261c.tar.gz gradecoin-b36f22722b230a5944989c79923cb315e396261c.tar.bz2 gradecoin-b36f22722b230a5944989c79923cb315e396261c.zip |
work on pending transactions test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/route_tests.rs | 2 |
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 | } |