mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-13 09:38:15 +02:00
[#302] fixed admin reset password email link
This commit is contained in:
1 parent
80f710731c
commit
1de56d3d9e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ func TestSendAdminPasswordReset(t *testing.T) {
|
||||
}
|
||||
|
||||
expectedParts := []string{
|
||||
"http://localhost:8090/#/confirm-password-reset/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.",
|
||||
"http://localhost:8090/_/#/confirm-password-reset/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.",
|
||||
}
|
||||
for _, part := range expectedParts {
|
||||
if !strings.Contains(testApp.TestMailer.LastHtmlBody, part) {
|
||||
|
||||
Reference in new issue
Block a user