From 32c62f098330523323aedcddcb24062dd8479f8c Mon Sep 17 00:00:00 2001
From: Dariusz Kedzierski <dkedzierski@syncad.com>
Date: Wed, 4 Nov 2020 01:05:41 +0100
Subject: [PATCH] Moved mock block data to last blocks of sync to avoid id
 changes in some tests. Fixed get_state tests with head block and head time
 from mock data.

---
 .../follow_op/mock_block_data_follow.json        | 16 ++++++++--------
 tests/tests_api                                  |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/mock_data/block_data/follow_op/mock_block_data_follow.json b/mock_data/block_data/follow_op/mock_block_data_follow.json
index 1e5c5d3fd..fd6cb77fc 100644
--- a/mock_data/block_data/follow_op/mock_block_data_follow.json
+++ b/mock_data/block_data/follow_op/mock_block_data_follow.json
@@ -1,7 +1,7 @@
 {
-  "100000": {
-    "previous": "",
-    "timestamp": "",
+  "4999999": {
+    "previous": "004c4b3e03ea2eac2494790786bfb9e41a8669d9",
+    "timestamp": "2016-09-15T19:47:24",
     "witness": "",
     "transaction_merkle_root": "",
     "extensions": [],
@@ -219,13 +219,13 @@
         ]
       }
     ],
-    "block_id": "",
+    "block_id": "004c4b3fc6a8735b4ab5433d59f4526e4a042644",
     "signing_key": "",
     "transaction_ids": []
   },
-  "100001": {
-    "previous": "",
-    "timestamp": "",
+  "5000000": {
+    "previous": "004c4b3fc6a8735b4ab5433d59f4526e4a042644",
+    "timestamp": "2016-09-15T19:47:24",
     "witness": "initminer",
     "transaction_merkle_root": "",
     "extensions": [],
@@ -294,7 +294,7 @@
         ]
       }
     ],
-    "block_id": "",
+    "block_id": "004c4b40245ffb07380a393fb2b3d841b76cdaec",
     "signing_key": "",
     "transaction_ids": []
   },
diff --git a/tests/tests_api b/tests/tests_api
index 819563bf5..464094622 160000
--- a/tests/tests_api
+++ b/tests/tests_api
@@ -1 +1 @@
-Subproject commit 819563bf5c43f0d7620b4be6e2a33df86dd168e4
+Subproject commit 4640946229bce481c03f64bea01d97588340a213
-- 
GitLab