From 3bb32eb013d5d12a1ba39e934181b92e75e38eab Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 9 Jun 2016 14:25:01 +0100 Subject: [PATCH] FIX Tests need the DB --- tests/ReportTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ReportTest.php b/tests/ReportTest.php index 2df30585..9193e604 100644 --- a/tests/ReportTest.php +++ b/tests/ReportTest.php @@ -6,6 +6,8 @@ */ class ReportTest extends SapphireTest { + protected $usesDatabase = true; + public function testGetReports() { $reports = SS_Report::get_reports(); $this->assertNotNull($reports, "Reports returned");