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:
committed by
GitHub
parent
63242edeb3
commit
d1750fecc0
@ -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,
|
||||
])
|
||||
);
|
||||
|
Reference in New Issue
Block a user