Skip to content

Commit

Permalink
Change success message when submiting a support request
Browse files Browse the repository at this point in the history
  • Loading branch information
donici committed Feb 13, 2019
1 parent 1c47e2a commit 60ffec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plib/controllers/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public function supportAction()
"From: {$supportForm->getValue($supportForm::OPTION_REPLY_TO)}\r\n" .
"Reply-To: {$supportForm->getValue($supportForm::OPTION_REPLY_TO)}\r\n");
if ($isSent) {
$this->_status->addMessage('info', 'Your message has been sent.');
$this->_status->addMessage('info', 'Your message has been queued for delivery.');
$this->_helper->json(['redirect' => $this->_helper->url('support')]);
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/T04SupportCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ public function checkSettingsPage(SupportSteps $I)

/*Check if configuration was saved*/
$I->seeSuccessMessage(
'Information: Your message has been sent.');
'Information: Your message has been queued for delivery.');
}
}

0 comments on commit 60ffec6

Please sign in to comment.