Skip to content

Commit

Permalink
Merge pull request #35 from tractorcow/pulls/fix-tests
Browse files Browse the repository at this point in the history
BUG ensure tests have database enabled
  • Loading branch information
Stig Lindqvist authored Jul 12, 2016
2 parents b084f54 + 3135c1e commit a19fcb4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/DevCheckControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
class DevCheckControllerTest extends SapphireTest
{
protected $usesDatabase = true;

public function testIndexCreatesChecker()
{
$controller = new DevCheckController();
Expand Down
2 changes: 2 additions & 0 deletions tests/DevHealthControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
class DevHealthControllerTest extends SapphireTest
{
protected $usesDatabase = true;

public function testIndexCreatesChecker()
{
$controller = new DevHealthController();
Expand Down
2 changes: 2 additions & 0 deletions tests/EnvironmentCheckerTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php
class EnvironmentCheckerTest extends SapphireTest
{
protected $usesDatabase = true;

public function setUpOnce()
{
parent::setUpOnce();
Expand Down

0 comments on commit a19fcb4

Please sign in to comment.