Skip to content

Commit a6b43d5

Browse files
committed
fix tests for serde change
1 parent 33e8378 commit a6b43d5

File tree

1 file changed

+5
-5
lines changed
  • components/chainhook-cli/src/service/tests

1 file changed

+5
-5
lines changed

components/chainhook-cli/src/service/tests/mod.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -905,21 +905,21 @@ async fn test_deregister_predicate(chain: Chain) {
905905
number_of_blocks_evaluated: 4,
906906
number_of_blocks_to_scan: 1,
907907
number_of_times_triggered: 0,
908-
last_occurrence: 0,
908+
last_occurrence: format!("0"),
909909
last_evaluated_block_height: 4
910910
}), 6 => using assert_confirmed_expiration_status; "preloaded predicate with scanning status should get scanned until completion")]
911911
#[test_case(Streaming(StreamingData {
912912
number_of_blocks_evaluated: 4,
913913
number_of_times_triggered: 0,
914-
last_occurrence: 0,
915-
last_evaluation: 0,
914+
last_occurrence: format!("0"),
915+
last_evaluation: format!("0"),
916916
last_evaluated_block_height: 4
917917
}), 6 => using assert_confirmed_expiration_status; "preloaded predicate with streaming status and last evaluated height below tip should get scanned until completion")]
918918
#[test_case(Streaming(StreamingData {
919919
number_of_blocks_evaluated: 5,
920920
number_of_times_triggered: 0,
921-
last_occurrence: 0,
922-
last_evaluation: 0,
921+
last_occurrence: format!("0"),
922+
last_evaluation: format!("0"),
923923
last_evaluated_block_height: 5
924924
}), 5 => using assert_streaming_status; "preloaded predicate with streaming status and last evaluated height at tip should be streamed")]
925925
#[tokio::test]

0 commit comments

Comments
 (0)