From 4e9fa5b7e9ca6030a5fe2e9b0520bf8fa18e5877 Mon Sep 17 00:00:00 2001 From: Nassim Bounouas Date: Fri, 21 Jun 2019 08:49:35 +0200 Subject: Feature/subject in contact form (#1926) * #1915 Add a subject to contact form and add it to email sent * #1915 Add subject to contact form tests * #1915 Contact form test corrected && tslint correction --- server/tests/api/check-params/contact-form.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/tests/api/check-params') diff --git a/server/tests/api/check-params/contact-form.ts b/server/tests/api/check-params/contact-form.ts index dbdd3a8a6..b3051945e 100644 --- a/server/tests/api/check-params/contact-form.ts +++ b/server/tests/api/check-params/contact-form.ts @@ -26,6 +26,7 @@ describe('Test contact form API validators', function () { const defaultBody = { fromName: 'super name', fromEmail: 'toto@example.com', + subject: 'my subject', body: 'Hello, how are you?' } let emailPort: number -- cgit v1.2.3