Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jun 5, 2016
1 parent f7ff695 commit ad7ccc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Note: Plugin folder is case-sensitive.
Use Sendgrid to send emails
---------------------------

### Configuration with the user interface

Set your API credentials on the settings page and set the mail transport to "sendgrid".

### Configuration with the config file

Define those constants in your `config.php` file to send notifications with Sendgrid:

```php
Expand Down
2 changes: 1 addition & 1 deletion Test/EmailHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function testSendEmail()
{
$this->container['httpClient']
->expects($this->once())
->method('postForm')
->method('postFormAsync')
->with(
'https://api.sendgrid.com/api/mail.send.json',
$this->anything(),
Expand Down

0 comments on commit ad7ccc5

Please sign in to comment.