updated mailbox app password
This commit is contained in:
@@ -61,7 +61,7 @@ func TestMailboxAppPasswordCanSendAsPrimaryButNotArbitraryAddress(t *testing.T)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash); err != nil {
|
||||
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash, nil); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
addr := startTestServer(t, backend)
|
||||
@@ -104,7 +104,7 @@ func TestMailboxAppPasswordCanSendAsEnabledAlias(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash); err != nil {
|
||||
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash, nil); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
addr := startTestServer(t, backend)
|
||||
@@ -131,7 +131,7 @@ func TestMailboxAppPasswordCannotSendAsReceiveOnlyAlias(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash); err != nil {
|
||||
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash, nil); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
addr := startTestServer(t, backend)
|
||||
|
||||
Reference in New Issue
Block a user