mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
bf896a2cfd
commit
0c4681eb81
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user