From 3135c1eec7c17a7e5d8bf7b2a19c18ec9e22b69a Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Tue, 12 Jul 2016 14:08:29 +1200 Subject: [PATCH] BUG ensure tests have database enabled --- tests/DevCheckControllerTest.php | 2 ++ tests/DevHealthControllerTest.php | 2 ++ tests/EnvironmentCheckerTest.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/tests/DevCheckControllerTest.php b/tests/DevCheckControllerTest.php index 5ac0dce..eb99e55 100644 --- a/tests/DevCheckControllerTest.php +++ b/tests/DevCheckControllerTest.php @@ -5,6 +5,8 @@ */ class DevCheckControllerTest extends SapphireTest { + protected $usesDatabase = true; + public function testIndexCreatesChecker() { $controller = new DevCheckController(); diff --git a/tests/DevHealthControllerTest.php b/tests/DevHealthControllerTest.php index 1ee7e83..59e240e 100644 --- a/tests/DevHealthControllerTest.php +++ b/tests/DevHealthControllerTest.php @@ -5,6 +5,8 @@ */ class DevHealthControllerTest extends SapphireTest { + protected $usesDatabase = true; + public function testIndexCreatesChecker() { $controller = new DevHealthController(); diff --git a/tests/EnvironmentCheckerTest.php b/tests/EnvironmentCheckerTest.php index ecee195..f23227e 100644 --- a/tests/EnvironmentCheckerTest.php +++ b/tests/EnvironmentCheckerTest.php @@ -1,6 +1,8 @@