Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test being potentially muddied by local ENV #21586

Merged
merged 1 commit into from Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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