Skip to content

Commit

Permalink
Stubbed env needed for build (#138)
Browse files Browse the repository at this point in the history
* Fixed lint errors

* Revert "Fixed lint errors"

This reverts commit e7d3c67.

* Added some more env variable value

* Fixed test case
  • Loading branch information
ashwinisukale authored Nov 22, 2023
1 parent 40e2ff4 commit 425a8bb
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/models/orcid_affiliation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
allow(ENV).to receive(:[]).with("CROSSREF_QUERY_URL").and_return("https://fake.crossrefurl.com")
allow(ENV).to receive(:[]).with("VOLPINO_URL").and_return("https://fake.volpinoapi.com")
allow(ENV).to receive(:[]).with("SLACK_WEBHOOK_URL").and_return("")
allow(ENV).to receive(:[]).with("TRUSTED_IP").and_return("123444")
allow(ENV).to receive(:[]).with("http_proxy").and_return(nil)
allow(Rails.logger).to receive(:info)
end

Expand Down

0 comments on commit 425a8bb

Please sign in to comment.