From 9824aa6374c7b94483254f26982e709220e07cff Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 14 Dec 2024 21:27:24 +0000 Subject: [PATCH] tests: use variable in expected url --- src/trello/tests/board/get.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trello/tests/board/get.rs b/src/trello/tests/board/get.rs index b242fa0..b6b1bf2 100644 --- a/src/trello/tests/board/get.rs +++ b/src/trello/tests/board/get.rs @@ -15,7 +15,7 @@ fn ctx() -> FullCtx { let mock_net = given::a_network(); mock_net .on() - .get("https://api.trello.com/1/boards/65ad94865aed24f70ecdce4b") + .get(f!("https://api.trello.com/1/boards/{board_id}")) .header("content-type", "application/json") .header("accept", "application/json") .headers(HashMap::from([(