From a76a7eb2f8d617a8a412ba3a7366044c10d2c00c Mon Sep 17 00:00:00 2001 From: Matthew Little Date: Thu, 31 Oct 2024 15:07:23 +0100 Subject: [PATCH] chore: fix tests --- components/chainhook-cli/src/service/tests/observer_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/chainhook-cli/src/service/tests/observer_tests.rs b/components/chainhook-cli/src/service/tests/observer_tests.rs index 449ee1378..e06df1d87 100644 --- a/components/chainhook-cli/src/service/tests/observer_tests.rs +++ b/components/chainhook-cli/src/service/tests/observer_tests.rs @@ -170,8 +170,8 @@ async fn start_and_ping_event_observer(config: EventObserverConfig, ingestion_po .unwrap(); await_observer_started(ingestion_port).await; } -#[test_case("/drop_mempool_tx", Method::POST, None)] -#[test_case("/attachments/new", Method::POST, None)] +#[test_case("/drop_mempool_tx", Method::POST, Some(&json!({})))] +#[test_case("/attachments/new", Method::POST, Some(&json!({})))] #[test_case("/mined_block", Method::POST, Some(&json!({})))] #[test_case("/mined_microblock", Method::POST, Some(&json!({})))] #[tokio::test]