From ab6b602d11447d305770aa8cbb79278428dd2244 Mon Sep 17 00:00:00 2001 From: Tyler Arbon Date: Tue, 3 Jul 2018 17:20:14 -0600 Subject: [PATCH] Changed test --- tests/LERNTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }