Skip to content

Commit

Permalink
Changed test
Browse files Browse the repository at this point in the history
  • Loading branch information
tylercd100 committed Jul 3, 2018
1 parent c67e2b5 commit ab6b602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/LERNTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function testCantConnectToDatabaseError()
// Mysql should not work as we have not configured it properly for testing.
// this should reproduce an error similar to having the database offline.
\Config::set("database.default", "mysql");
$this->expectException(RecorderFailedException::class);
$this->expectException(\Illuminate\Database\QueryException::class);
$lern->handle(new Exception);
}
}

0 comments on commit ab6b602

Please sign in to comment.