Set email protocol as array in runtime and company email for tests

This commit is contained in:
Burak Çakırel 2020-06-09 04:27:15 +03:00
parent 4c62e391b7
commit e59098098a
No known key found for this signature in database
GPG Key ID: 48FFBB7771B99C7C
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]);
}