From b36f22722b230a5944989c79923cb315e396261c Mon Sep 17 00:00:00 2001 From: alpaylan Date: Fri, 16 Apr 2021 04:29:31 +0300 Subject: work on pending transactions test. --- tests/route_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 assert_eq!(res.status(), StatusCode::OK); - 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"}}"#; + 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"}}"#; assert_eq!(res.body(), expected_json_body); } -- cgit v1.2.3-70-g09d2