Resurrect Mail::pretend

Moved upgrade guide to RN-9 http://octobercms.com/support/article/rn-9
This commit is contained in:
Samuel Georges 2017-05-13 12:31:34 +10:00
parent 2fdeec246d
commit f3aad33e5e
2 changed files with 2 additions and 10 deletions

View File

@ -1,9 +1 @@
Changelog can be found here: http://octobercms.com/changelog
### Breaking changes Laravel 5.5
- Database queries now return Collections instead of arrays!
- Twig has been updated to v2.0
- `pluck()` should be renamed to `value()`
- `getRelatedIds()` called from BelongsToMany is renamed to `allRelatedIds()`
- `Mail::pretend()` has been removed, use `Config::set('mail.driver', 'log');` instead

View File

@ -35,9 +35,9 @@ abstract class PluginTestCase extends Illuminate\Foundation\Testing\TestCase
]);
/*
* Mailer pretend
* Disable mailer
*/
$app['config']->set('mail.driver', 'log');
Mail::pretend();
/*
* Modify the plugin path away from the test context