Skip to content

Commit

Permalink
Changed mail settings to new URL
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Apr 21, 2020
1 parent 8aa34c9 commit fc0b163
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Api/Serializer/MailSettingsSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MailSettingsSerializer extends AbstractSerializer
/**
* {@inheritdoc}
*/
protected $type = 'mail-settings';
protected $type = 'mail/settings';

/**
* {@inheritdoc}
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/extenders/MailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function drivers_are_unchanged_by_default()
$this->prepDb();

$response = $this->send(
$this->request('GET', '/api/mail-settings', [
$this->request('GET', '/api/mail/settings', [
'authenticatedAs' => 1,
])
);
Expand Down Expand Up @@ -73,7 +73,7 @@ public function added_driver_appears_in_mail_settings()
$this->prepDb();

$response = $this->send(
$this->request('GET', '/api/mail-settings', [
$this->request('GET', '/api/mail/settings', [
'authenticatedAs' => 1,
])
);
Expand All @@ -97,7 +97,7 @@ public function adding_driver_with_duplicate_name_overrides_fields()
$this->prepDb();

$response = $this->send(
$this->request('GET', '/api/mail-settings', [
$this->request('GET', '/api/mail/settings', [
'authenticatedAs' => 1,
])
);
Expand Down

0 comments on commit fc0b163

Please sign in to comment.