1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 00:47:00 +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 17f46fd9d0
commit 8d9e20f217
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,
])
);