This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of using hardcoded API credentials for the remote test suite, use a configuration file that is ignore by Git. This also fixes some remote tests that fail due to an expired credit card. Fixes #10 Successful Full Test Suite Run at 2019-05-31 09:48:37
- Loading branch information
dtykocki
committed
May 31, 2019
1 parent
ac8176d
commit 41299df
Showing
6 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ erl_crash.dump | |
/doc | ||
.tool-versions* | ||
/.elixir_ls | ||
config/test.secret.exs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
use Mix.Config | ||
|
||
config :spreedly, | ||
environment_key: "R7lHscqcYkZeDGGbthKp6GKMu15", | ||
access_secret: "8sefxO5Q44sLWpmZpalQS3Qlqo03JbCemsqsWJR3YOLCuigOFRlaLSAn0WaL5dWU" | ||
if File.exists?("#{__DIR__}/test.secret.exs") do | ||
import_config "test.secret.exs" | ||
else | ||
Mix.shell().info([:yellow, "\nExpected a config/test.secret.exs file to exist."]) | ||
|
||
msg = """ | ||
We use this file to specify gitignored configuration information | ||
used to run remote tests. | ||
See the top-level README.md for instructions. | ||
""" | ||
|
||
Mix.shell().info([:yellow, msg]) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters