Skip to content

Commit

Permalink
test(secrets-api-error-handling): suppress 'used only once' warning f…
Browse files Browse the repository at this point in the history
…or Mojo::UserAgent
  • Loading branch information
scriptprivate authored Sep 17, 2024
1 parent 4d6756c commit d1c62f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/secrets-api-error-handling.t
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ BEGIN {
}
}

no warnings 'once';

Check failure on line 53 in tests/secrets-api-error-handling.t

View workflow job for this annotation

GitHub Actions / critic

Warnings disabled at line 53, column 1. See page 431 of PBP.
*Mojo::UserAgent::new = \&MockMojoUserAgent::new;

subtest 'API error handling' => sub {
Expand Down

0 comments on commit d1c62f8

Please sign in to comment.