From d6a889aa338fa813dccf94c69dbf9c3fa73d558d Mon Sep 17 00:00:00 2001 From: priv <140729444+scriptprivate@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:37:25 -0300 Subject: [PATCH] test(no-open-secret-scanning-alerts): suppress 'used only once' warning for Mojo::UserAgent --- tests/no-open-secret-scanning-alerts.t | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/no-open-secret-scanning-alerts.t b/tests/no-open-secret-scanning-alerts.t index 0956440..2a42957 100644 --- a/tests/no-open-secret-scanning-alerts.t +++ b/tests/no-open-secret-scanning-alerts.t @@ -50,6 +50,7 @@ BEGIN { } } +no warnings 'once'; *Mojo::UserAgent::new = \&MockMojoUserAgent::new; subtest 'No open secret scanning alerts' => sub {