diff --git a/tests/secrets-api-error-handling.t b/tests/secrets-api-error-handling.t index 1b60aef..e15735d 100644 --- a/tests/secrets-api-error-handling.t +++ b/tests/secrets-api-error-handling.t @@ -50,6 +50,7 @@ BEGIN { } } +no warnings 'once'; *Mojo::UserAgent::new = \&MockMojoUserAgent::new; subtest 'API error handling' => sub {