work in progress on MarkdownTemplate interface
This commit is contained in:
5
tests/templates/invalid_from_email.md
Normal file
5
tests/templates/invalid_from_email.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
subject: "Test from_email invalide"
|
||||
from_email: "invalid-email-address"
|
||||
---
|
||||
Contenu de test.
|
||||
7
tests/templates/invalid_recipient.md
Normal file
7
tests/templates/invalid_recipient.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
subject: "Test adresse invalide dans to"
|
||||
to:
|
||||
- "valid@example.org"
|
||||
- "bad address"
|
||||
---
|
||||
Contenu de test.
|
||||
4
tests/templates/missing_subject.md
Normal file
4
tests/templates/missing_subject.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
to: "test@example.com"
|
||||
---
|
||||
Corps de test sans sujet.
|
||||
@ -1,5 +0,0 @@
|
||||
---
|
||||
subject: "Notification pour {{ missing_user }}"
|
||||
to: "test@example.com"
|
||||
---
|
||||
Corps de test.
|
||||
11
tests/templates/valid_addresses.md
Normal file
11
tests/templates/valid_addresses.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
subject: "Test adresses"
|
||||
to:
|
||||
- "Victor Hugo <hugo@les-miserables.fr>"
|
||||
- "antoine@saint-exupery.aero"
|
||||
cc: "Aimé Césaire <cesaire@cahiers.net>"
|
||||
bcc:
|
||||
- "boris@vian.jazz"
|
||||
reply_to: "contact@example.org"
|
||||
---
|
||||
Contenu de test pour les adresses.
|
||||
5
tests/templates/valid_from_email.md
Normal file
5
tests/templates/valid_from_email.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
subject: "Test from_email valide"
|
||||
from_email: "Victor Hugo <hugo@les-miserables.fr>"
|
||||
---
|
||||
Contenu de test.
|
||||
Reference in New Issue
Block a user