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:
Denis Duliçi 2020-06-09 09:20:38 +03:00 committed by GitHub
commit 55f2df18cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -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',

View File

@ -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]);
}