Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Archibald committed Dec 14, 2017
1 parent 8ba4cb6 commit 69d85ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authStore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ var verifyEmailTests = []struct {
EmailVerificationCode: "nfwRDzfxxJj2_HY-_mLz6jWyWU7bF0zUlIUUVkQgbZ0",
getEmailSessionReturn: getEmailSessionSuccess(),
AddUserReturn: errors.New("fail"),
MethodsCalled: []string{"GetEmailSession", "AddUser"},
ExpectedErr: "Failed to create new user in database",
MethodsCalled: []string{"GetEmailSession", "AddUser", "GetUser"},
ExpectedErr: "Failed to get user in database",
},
{
Scenario: "Email session update fail",
Expand Down

0 comments on commit 69d85ee

Please sign in to comment.