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 {