MINOR Using assertType() for PHPUnit 3.4 compat in DataListTest

This commit is contained in:
Ingo Schommer 2011-11-15 16:52:15 +01:00
parent 322d98306b
commit dec86b7e6c

View File

@ -146,7 +146,7 @@ class DataListTest extends SapphireTest {
$team = DataList::create("DataObjectTest_Team")->byID($id);
// byID() returns a DataObject, rather than a DataList
$this->assertInstanceOf('DataObjectTest_Team', $team);
$this->assertType('DataObjectTest_Team', $team);
$this->assertEquals('Team 2', $team->Title);
}