Skip to content

Commit 9d89b3b

Browse files
committed
Fix tests for no primary key first call.
1 parent 55da35a commit 9d89b3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/Database/Live/ModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public function testFirstWithNoPrimaryKey()
212212

213213
$record = $model->first();
214214

215-
$this->assertEquals(1, count($record));
215+
$this->assertInstanceOf('stdClass', $record);
216216
$this->assertEquals('foo', $record->key);
217217
}
218218

0 commit comments

Comments
 (0)