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