mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Add PHPUnit includes to SapphireTest? class (can be loaded outside of TestRunner? for static calls, in which case the PHPUnit autoloaders/includes aren't in place yet) (merged from r113156)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113157 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a2c10e3625
commit
4e8b6b9fd7
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'TestRunner.php';
|
require_once 'TestRunner.php';
|
||||||
|
|
||||||
|
PhpUnitWrapper::inst()->init();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test case class for the Sapphire framework.
|
* 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.
|
* Sapphire unit testing is based on PHPUnit, but provides a number of hooks into our data model that make it easier to work with.
|
||||||
|
Loading…
Reference in New Issue
Block a user