Permalink
Browse files

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
  • Loading branch information...
chillu committed Nov 30, 2009
1 parent ba344f2 commit 38c71c56a34af05a8328221b4974ac5fc698140d
@@ -5,6 +5,8 @@
*/
class ModelAsControllerTest extends SapphireTest {
+ protected $usesDatabase = true;
+
public function testFindOldPage() {
$page = new Page();
$page->Title = 'Test Page';
@@ -9,6 +9,8 @@ class WidgetAreaEditorTest extends SapphireTest {
*/
protected $widgetToTest = 'WidgetAreaEditorTest_TestWidget';
+ protected $usesDatabase = true;
+
function testFillingOneArea() {
$oldRequest = $_REQUEST;
@@ -5,6 +5,8 @@
*/
class DatabaseTest extends SapphireTest {
+ protected $usesDatabase = true;
+
function testDontRequireField() {
$conn = DB::getConn();
$this->assertArrayHasKey(
@@ -4,6 +4,9 @@
* @subpackage tests
*/
class MemberAuthenticatorTest extends SapphireTest {
+
+ protected $usesDatabase = true;
+
function testLegacyPasswordHashMigrationUponLogin() {
$member = new Member();
$member->Email = 'test@test.com';

0 comments on commit 38c71c5

Please sign in to comment.