mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
ba344f2531
commit
38c71c56a3
@ -5,6 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
class ModelAsControllerTest extends SapphireTest {
|
class ModelAsControllerTest extends SapphireTest {
|
||||||
|
|
||||||
|
protected $usesDatabase = true;
|
||||||
|
|
||||||
public function testFindOldPage() {
|
public function testFindOldPage() {
|
||||||
$page = new Page();
|
$page = new Page();
|
||||||
$page->Title = 'Test Page';
|
$page->Title = 'Test Page';
|
||||||
|
@ -9,6 +9,8 @@ class WidgetAreaEditorTest extends SapphireTest {
|
|||||||
*/
|
*/
|
||||||
protected $widgetToTest = 'WidgetAreaEditorTest_TestWidget';
|
protected $widgetToTest = 'WidgetAreaEditorTest_TestWidget';
|
||||||
|
|
||||||
|
protected $usesDatabase = true;
|
||||||
|
|
||||||
function testFillingOneArea() {
|
function testFillingOneArea() {
|
||||||
$oldRequest = $_REQUEST;
|
$oldRequest = $_REQUEST;
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
class DatabaseTest extends SapphireTest {
|
class DatabaseTest extends SapphireTest {
|
||||||
|
|
||||||
|
protected $usesDatabase = true;
|
||||||
|
|
||||||
function testDontRequireField() {
|
function testDontRequireField() {
|
||||||
$conn = DB::getConn();
|
$conn = DB::getConn();
|
||||||
$this->assertArrayHasKey(
|
$this->assertArrayHasKey(
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
* @subpackage tests
|
* @subpackage tests
|
||||||
*/
|
*/
|
||||||
class MemberAuthenticatorTest extends SapphireTest {
|
class MemberAuthenticatorTest extends SapphireTest {
|
||||||
|
|
||||||
|
protected $usesDatabase = true;
|
||||||
|
|
||||||
function testLegacyPasswordHashMigrationUponLogin() {
|
function testLegacyPasswordHashMigrationUponLogin() {
|
||||||
$member = new Member();
|
$member = new Member();
|
||||||
$member->Email = 'test@test.com';
|
$member->Email = 'test@test.com';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user