Skip to content

Commit

Permalink
fix: localize $ENV variable
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptprivate authored Aug 13, 2024
1 parent aa40e74 commit 7a8e0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/security-gate.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use Test::MockObject;
use Test::Output;
use Mojo::JSON qw(encode_json);

$ENV{TEST_MODE} = 1;
local $ENV{TEST_MODE} = 1;

my $mock_ua = Test::MockObject -> new();
$mock_ua -> fake_module('Mojo::UserAgent');
Expand Down

0 comments on commit 7a8e0d2

Please sign in to comment.