mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Resurrect Mail::pretend
Moved upgrade guide to RN-9 http://octobercms.com/support/article/rn-9
This commit is contained in:
parent
2fdeec246d
commit
f3aad33e5e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user