Skip to content

Commit

Permalink
BUGFIX Add PHPUnit includes to SapphireTest class (can be loaded outs…
Browse files Browse the repository at this point in the history
…ide of TestRunner for static calls, in which case the PHPUnit autoloaders/includes aren't in place yet)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@113156 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Oct 27, 2010
1 parent e531379 commit 46dcd20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/SapphireTest.php
@@ -1,6 +1,8 @@
<?php
require_once 'TestRunner.php';

PhpUnitWrapper::inst()->init();

/**
* Test case class for the Sapphire framework.
* Sapphire unit testing is based on PHPUnit, but provides a number of hooks into our data model that make it easier to work with.
Expand Down

0 comments on commit 46dcd20

Please sign in to comment.