Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 26e1850

Browse files
committed
Added a configuration section to address the log driver
1 parent a48e937 commit 26e1850

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Install the package:
2525
$ composer require spinen/laravel-mail-assertions
2626
```
2727

28+
## Configure
29+
30+
In order for the package to be able to make assertions on the email, it has to be able to "read" the messages. It does so by parsing the laravel log, so the mail driver has to be log.
31+
2832
## Using
2933

3034
You mixin the assertions with the ```Spinen\MailAssertions\MailTracking``` trait. You get the following assertions...
@@ -60,7 +64,7 @@ use Spinen\MailAssertions\MailTracking;
6064
class ExampleTest extends TestCase
6165
{
6266
use MailTracking;
63-
67+
6468
/**
6569
* A basic functional test example.
6670
*

0 commit comments

Comments
 (0)