Skip to content

Commit

Permalink
Fix test being potentially muddied by local ENV (#21586)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliSoftware committed Nov 8, 2023
1 parent 34a1635 commit 30b67fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fastlane/spec/actions_specs/upload_symbols_to_sentry_spec.rb
@@ -1,6 +1,11 @@
describe Fastlane do
describe Fastlane::FastFile do
describe "sentry" do
before do
# Prevent ENV vars that might be defined in the developer's machine to muddy the test environment
allow(ENV).to receive(:[]).and_return(nil)
end

it "fails with no API key or auth token" do
dsym_path_1 = './fastlane/spec/fixtures/dSYM/Themoji.dSYM.zip'

Expand Down

0 comments on commit 30b67fe

Please sign in to comment.