-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08ad7dd
commit e800614
Showing
5 changed files
with
29 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
loco-new/base_template/tests/requests/snapshots/can_auth_with_magic_link@auth_request-2.snap
This file was deleted.
Oops, something went wrong.
6 changes: 2 additions & 4 deletions
6
loco-new/base_template/tests/requests/snapshots/can_auth_with_magic_link@auth_request.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
--- | ||
source: tests/requests/auth.rs | ||
expression: deliveries.messages | ||
expression: magic_link_response.text() | ||
--- | ||
[ | ||
"From: System <system@example.com>To: user1@example.comSubject: Magic link =?utf-8?b?ZXhhbXBsZQo=?MIME-Version: 1.0Date: DATEContent-Type: multipart/alternative; boundary=\"IDENTIFIER\"--IDENTIFIERContent-Type: text/plain; charset=utf-8Content-Transfer-Encoding: 7bitMagic link with this link: http://localhost:5150/api/auth/magic-link/[REDACT_TOKEN]--IDENTIFIERContent-Type: text/html; charset=utf-8Content-Transfer-Encoding: quoted-printable;<html><body><p>Magic link example:</p><a href=3D\"http://localhost:5150/api/auth/magic-link/[REDACT_TOKEN]\">Verify Your Account</a></body></html>--IDENTIFIER--", | ||
] | ||
"{\"token\":\"TOKEN\",\"pid\":\"PID\",\"name\":\"user1\",\"is_verified\":false}" |
10 changes: 0 additions & 10 deletions
10
loco-new/base_template/tests/requests/snapshots/can_register@auth_request-2.snap
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
loco-new/base_template/tests/requests/snapshots/can_reset_password@auth_request-2.snap
This file was deleted.
Oops, something went wrong.