From f3aad33e5e1cddcebdc49201f42767a24062ac9d Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sat, 13 May 2017 12:31:34 +1000 Subject: [PATCH] Resurrect Mail::pretend Moved upgrade guide to RN-9 http://octobercms.com/support/article/rn-9 --- CHANGELOG.md | 8 -------- tests/PluginTestCase.php | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e0ce24af..3d38bebc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/tests/PluginTestCase.php b/tests/PluginTestCase.php index 0e3269ee1..f3c4f43bd 100644 --- a/tests/PluginTestCase.php +++ b/tests/PluginTestCase.php @@ -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