diff --git a/tests/LERNTest.php b/tests/LERNTest.php index 1f74247..a10f0e5 100755 --- a/tests/LERNTest.php +++ b/tests/LERNTest.php @@ -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); } }