Skip to content

Commit

Permalink
Use synchronous queue driver so we can test email queue jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
artstorm committed Jul 21, 2015
1 parent 8a82cb4 commit 85538d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/tests/integration/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ class UserTest extends TestCase
public function setUp()
{
parent::setUp();

// We'll use the synchronous queue driver for this test, so we can test
// the email queue jobs.
putenv('QUEUE_DRIVER=sync');
}

protected function createUser($type = 'admin')
Expand Down

0 comments on commit 85538d2

Please sign in to comment.