1
0
mirror of https://github.com/flarum/core.git synced 2025-07-15 22:06:24 +02:00

Send Test Mail Feature (#2023)

- Add UI, backend for sending test emails
- Change mail settings endpoint to /api/mail/settings
This commit is contained in:
Alexander Skvortsov
2020-05-30 22:49:36 -04:00
committed by GitHub
parent 63242edeb3
commit d1750fecc0
4 changed files with 112 additions and 11 deletions

View File

@ -40,7 +40,7 @@ class MailTest extends TestCase
$this->prepDb();
$response = $this->send(
$this->request('GET', '/api/mail-settings', [
$this->request('GET', '/api/mail/settings', [
'authenticatedAs' => 1,
])
);
@ -73,7 +73,7 @@ class MailTest extends TestCase
$this->prepDb();
$response = $this->send(
$this->request('GET', '/api/mail-settings', [
$this->request('GET', '/api/mail/settings', [
'authenticatedAs' => 1,
])
);
@ -97,7 +97,7 @@ class MailTest extends TestCase
$this->prepDb();
$response = $this->send(
$this->request('GET', '/api/mail-settings', [
$this->request('GET', '/api/mail/settings', [
'authenticatedAs' => 1,
])
);