Set email protocol as array in runtime and company email for tests
This commit is contained in:
parent
4c62e391b7
commit
e59098098a
@ -40,6 +40,7 @@ class TestCompany extends Seeder
|
|||||||
{
|
{
|
||||||
$company = $this->dispatch(new CreateCompany([
|
$company = $this->dispatch(new CreateCompany([
|
||||||
'name' => 'My Company',
|
'name' => 'My Company',
|
||||||
|
'email' => 'test@company.com',
|
||||||
'domain' => 'company.com',
|
'domain' => 'company.com',
|
||||||
'address' => 'New Street 1254',
|
'address' => 'New Street 1254',
|
||||||
'currency' => 'USD',
|
'currency' => 'USD',
|
||||||
|
@ -32,6 +32,10 @@ abstract class FeatureTestCase extends TestCase
|
|||||||
setting()->forgetAll();
|
setting()->forgetAll();
|
||||||
setting()->load(true);
|
setting()->load(true);
|
||||||
|
|
||||||
|
setting()->set(['email.protocol' => 'array']);
|
||||||
|
setting()->save();
|
||||||
|
|
||||||
|
|
||||||
// Disable debugbar
|
// Disable debugbar
|
||||||
config(['debugbar.enabled', false]);
|
config(['debugbar.enabled', false]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user