Skip to content

Commit

Permalink
Fix exvcr configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
edgurgel committed Jun 6, 2020
1 parent 7f7f615 commit 4a34d9d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions config/config.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
use Mix.Config

config :exvcr,
vcr_cassette_library_dir: "test/fixture/vcr_cassettes",
filter_sensitive_data: [
[pattern: "token [^\"]+", placeholder: "token yourtokencomeshere"]
]
if Mix.env() == :test do
config :exvcr,
vcr_cassette_library_dir: "test/fixture/vcr_cassettes",
filter_sensitive_data: [
[pattern: "token [^\"]+", placeholder: "token yourtokencomeshere"]
]
end

0 comments on commit 4a34d9d

Please sign in to comment.