Move mail pretend to after app has migrated

This commit is contained in:
Samuel Georges 2017-05-16 18:50:22 +10:00
parent 0e4d05d150
commit 671f23e284
1 changed files with 5 additions and 5 deletions

View File

@ -34,11 +34,6 @@ abstract class PluginTestCase extends Illuminate\Foundation\Testing\TestCase
'prefix' => '' 'prefix' => ''
]); ]);
/*
* Disable mailer
*/
Mail::pretend();
/* /*
* Modify the plugin path away from the test context * Modify the plugin path away from the test context
*/ */
@ -78,6 +73,11 @@ abstract class PluginTestCase extends Illuminate\Foundation\Testing\TestCase
if ($pluginCode !== false) { if ($pluginCode !== false) {
$this->runPluginRefreshCommand($pluginCode, false); $this->runPluginRefreshCommand($pluginCode, false);
} }
/*
* Disable mailer
*/
Mail::pretend();
} }
/** /**