Temporarily fix integration tests for email verify
Require email verify. As of now we don't have the "verified" bit in the storage layer so it passes. Once we put that in, we'll have to go back and add a call to the verification endpoint.
This commit is contained in:
parent
aee351a2b1
commit
2f4ffd752c
1 changed files with 8 additions and 2 deletions
|
@ -93,7 +93,10 @@ func TestIntegrationWalletUpdates(t *testing.T) {
|
||||||
st, tmpFile := storeTestInit(t)
|
st, tmpFile := storeTestInit(t)
|
||||||
defer storeTestCleanup(tmpFile)
|
defer storeTestCleanup(tmpFile)
|
||||||
|
|
||||||
s := Server{&auth.Auth{}, &st, &TestEnv{}}
|
env := map[string]string{
|
||||||
|
"ACCOUNT_VERIFICATION_MODE": "EmailVerify",
|
||||||
|
}
|
||||||
|
s := Server{&auth.Auth{}, &st, &TestEnv{env}}
|
||||||
|
|
||||||
////////////////////
|
////////////////////
|
||||||
t.Log("Request: Register email address - any device")
|
t.Log("Request: Register email address - any device")
|
||||||
|
@ -259,7 +262,10 @@ func TestIntegrationChangePassword(t *testing.T) {
|
||||||
st, tmpFile := storeTestInit(t)
|
st, tmpFile := storeTestInit(t)
|
||||||
defer storeTestCleanup(tmpFile)
|
defer storeTestCleanup(tmpFile)
|
||||||
|
|
||||||
s := Server{&auth.Auth{}, &st, &TestEnv{}}
|
env := map[string]string{
|
||||||
|
"ACCOUNT_VERIFICATION_MODE": "EmailVerify",
|
||||||
|
}
|
||||||
|
s := Server{&auth.Auth{}, &st, &TestEnv{env}}
|
||||||
|
|
||||||
////////////////////
|
////////////////////
|
||||||
t.Log("Request: Register email address")
|
t.Log("Request: Register email address")
|
||||||
|
|
Loading…
Reference in a new issue