Skip to content

Commit

Permalink
Set email protocol as array in runtime and company email for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
burakcakirel committed Jun 9, 2020
1 parent 4c62e39 commit e590980
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions database/seeds/TestCompany.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ private function createCompany()
{
$company = $this->dispatch(new CreateCompany([
'name' => 'My Company',
'email' => 'test@company.com',
'domain' => 'company.com',
'address' => 'New Street 1254',
'currency' => 'USD',
Expand Down
4 changes: 4 additions & 0 deletions tests/Feature/FeatureTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ protected function setUp(): void
setting()->forgetAll();
setting()->load(true);

setting()->set(['email.protocol' => 'array']);
setting()->save();


// Disable debugbar
config(['debugbar.enabled', false]);
}
Expand Down

0 comments on commit e590980

Please sign in to comment.