Move mail pretend to after app has migrated
This commit is contained in:
parent
0e4d05d150
commit
671f23e284
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue