-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delegate error handling to caller * Temp solution for email issues * Add cleaner error messages
- Loading branch information
1 parent
b7ca680
commit e372d7e
Showing
5 changed files
with
49 additions
and
23 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 |
---|---|---|
|
@@ -64,3 +64,4 @@ export [email protected] | |
export EMAIL_USER=”” | ||
export EMAIL_PASSWORD=”” | ||
``` | ||
You can access the MailHog UI at `localhost:8025` |
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ func TestGenerateSecretSantaMachesReturnsAppropriateLenghtOfMatchPairs(t *testin | |
var payload []Data | ||
payload = append(payload, Data{Name: "A", Email: "[email protected]"}) | ||
payload = append(payload, Data{Name: "B", Email: "[email protected]"}) | ||
payload = append(payload, Data{Name: "C", Email: "testb@test.org"}) | ||
payload = append(payload, Data{Name: "C", Email: "testc@test.org"}) | ||
|
||
matches := generateSecretSantaMatches(payload) | ||
|
||
|
@@ -47,7 +47,7 @@ func TestCircularMatchingAlgorithmReturnsExpectedMatchPairs(t *testing.T) { | |
var payload []Data | ||
payload = append(payload, Data{Name: "A", Email: "[email protected]"}) | ||
payload = append(payload, Data{Name: "B", Email: "[email protected]"}) | ||
payload = append(payload, Data{Name: "C", Email: "testb@test.org"}) | ||
payload = append(payload, Data{Name: "C", Email: "testc@test.org"}) | ||
|
||
var expected []MatchPair | ||
|
||
|
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