From 2e644faf9df815a69c8d39ebf8f3096ff9b99e2d Mon Sep 17 00:00:00 2001 From: LukeMathWalker Date: Wed, 21 Jul 2021 22:21:23 +0100 Subject: [PATCH] Name helper mock. --- tests/api/newsletter.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api/newsletter.rs b/tests/api/newsletter.rs index c103592..28f9c1b 100644 --- a/tests/api/newsletter.rs +++ b/tests/api/newsletter.rs @@ -8,6 +8,7 @@ async fn create_unconfirmed_subscriber(app: &TestApp) -> ConfirmationLinks { let _mock_guard = Mock::given(path("/email")) .and(method("POST")) .respond_with(ResponseTemplate::new(200)) + .named("Create unconfirmed subscriber") .expect(1) .mount_as_scoped(&app.email_server) .await;