MINOR Added flag to remaining SapphireTest subclasses

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93977 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-30 01:56:05 +00:00
parent ba344f2531
commit 38c71c56a3
4 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,8 @@
*/
class ModelAsControllerTest extends SapphireTest {
protected $usesDatabase = true;
public function testFindOldPage() {
$page = new Page();
$page->Title = 'Test Page';

View File

@ -9,6 +9,8 @@ class WidgetAreaEditorTest extends SapphireTest {
*/
protected $widgetToTest = 'WidgetAreaEditorTest_TestWidget';
protected $usesDatabase = true;
function testFillingOneArea() {
$oldRequest = $_REQUEST;

View File

@ -5,6 +5,8 @@
*/
class DatabaseTest extends SapphireTest {
protected $usesDatabase = true;
function testDontRequireField() {
$conn = DB::getConn();
$this->assertArrayHasKey(

View File

@ -4,6 +4,9 @@
* @subpackage tests
*/
class MemberAuthenticatorTest extends SapphireTest {
protected $usesDatabase = true;
function testLegacyPasswordHashMigrationUponLogin() {
$member = new Member();
$member->Email = 'test@test.com';