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

Commit 6c4fca2

Browse files
authored
Merge pull request #28 from spinen/feature/makeItClearThatTheMailDriverMustBeLog
Added a configuration section to address the log driver
2 parents a48e937 + eb1402b commit 6c4fca2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

readme.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@ PHPUnit mail assertions for testing email in Laravel.
1717
| Develop | [![Build Status](https://travis-ci.org/spinen/laravel-mail-assertions.svg?branch=develop)](https://travis-ci.org/spinen/laravel-mail-assertions) | [![Coverage Status](https://coveralls.io/repos/spinen/laravel-mail-assertions/badge.svg?branch=develop&service=github)](https://coveralls.io/github/spinen/laravel-mail-assertions?branch=develop) | [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/spinen/laravel-mail-assertions/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/spinen/laravel-mail-assertions/?branch=develop) |
1818
| Master | [![Build Status](https://travis-ci.org/spinen/laravel-mail-assertions.svg?branch=master)](https://travis-ci.org/spinen/laravel-mail-assertions) | [![Coverage Status](https://coveralls.io/repos/spinen/laravel-mail-assertions/badge.svg?branch=master&service=github)](https://coveralls.io/github/spinen/laravel-mail-assertions?branch=master) | [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/spinen/laravel-mail-assertions/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/spinen/laravel-mail-assertions/?branch=master) |
1919

20-
## Install
20+
## Installation
2121

2222
Install the package:
2323

2424
```bash
2525
$ composer require spinen/laravel-mail-assertions
2626
```
2727

28-
## Using
28+
## Configuration
29+
30+
In order for the package to be able to make assertions on your emails, it has to be able to "read" the messages. It does so by parsing the laravel log, so your mail driver has to be "log" for this package to function.
31+
32+
## Usage
2933

3034
You mixin the assertions with the ```Spinen\MailAssertions\MailTracking``` trait. You get the following assertions...
3135

@@ -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)