MINOR todos for DataObjectTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63339 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-09-30 00:27:22 +00:00
parent bf896a2cfd
commit 0c4681eb81

View File

@ -289,6 +289,9 @@ class DataObjectTest extends SapphireTest {
$this->assertEquals(0, DB::query("SELECT CaptainID FROM DataObjectTest_Team WHERE ID = $existingTeam->ID")->value()); $this->assertEquals(0, DB::query("SELECT CaptainID FROM DataObjectTest_Team WHERE ID = $existingTeam->ID")->value());
} }
/**
* @todo Re-enable all test cases for field existence after behaviour has been fixed
*/
function testFieldExistence() { function testFieldExistence() {
$teamInstance = $this->objFromFixture('DataObjectTest_Team', 'team1'); $teamInstance = $this->objFromFixture('DataObjectTest_Team', 'team1');
$teamSingleton = singleton('DataObjectTest_Team'); $teamSingleton = singleton('DataObjectTest_Team');
@ -344,6 +347,9 @@ class DataObjectTest extends SapphireTest {
} }
/**
* @todo Re-enable all test cases for field inheritance aggregation after behaviour has been fixed
*/
function testFieldInheritance() { function testFieldInheritance() {
$teamInstance = $this->objFromFixture('DataObjectTest_Team', 'team1'); $teamInstance = $this->objFromFixture('DataObjectTest_Team', 'team1');
$subteamInstance = $this->objFromFixture('DataObjectTest_SubTeam', 'subteam1'); $subteamInstance = $this->objFromFixture('DataObjectTest_SubTeam', 'subteam1');