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