Skip to content

Commit

Permalink
MINOR Using assertType() for PHPUnit 3.4 compat in DataListTest
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Nov 15, 2011
1 parent 322d983 commit dec86b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/model/DataListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function testByID() {
$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);
}

Expand Down

0 comments on commit dec86b7

Please sign in to comment.