Merge pull request #6979 from dhensby/pulls/bracket-test-only

FIX Bracket should implement TestOnly
This commit is contained in:
Daniel Hensby 2017-05-30 23:10:16 +01:00 committed by GitHub
commit 90c2a7de11

View File

@ -2,6 +2,7 @@
namespace SilverStripe\ORM\Tests\DataObjectTest; namespace SilverStripe\ORM\Tests\DataObjectTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject; use SilverStripe\ORM\DataObject;
/** /**
@ -11,7 +12,7 @@ use SilverStripe\ORM\DataObject;
* @method Team Second() * @method Team Second()
* @method Team Winner() * @method Team Winner()
*/ */
class Bracket extends DataObject class Bracket extends DataObject implements TestOnly
{ {
private static $table_name = 'DataObjectTest_Bracket'; private static $table_name = 'DataObjectTest_Bracket';