fix
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
func TestInviteAcceptURLAlwaysShareable(t *testing.T) {
|
||||
t.Parallel()
|
||||
url := mail.AcceptInviteURL("https://app.example.com/", "tok_abc")
|
||||
want := "https://app.example.com/accept-invite?token=tok_abc"
|
||||
want := "https://app.example.com/accept-invite#token=tok_abc"
|
||||
if url != want {
|
||||
t.Fatalf("AcceptInviteURL = %q want %q", url, want)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user