Skip to content

Commit

Permalink
Simplify test assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Jan 4, 2015
1 parent 9553c02 commit dabf557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
Expand Up @@ -3031,7 +3031,7 @@ public function testLength() {
$this->assertSame($expected, $result);

$result = $this->Dbo->length(false);
$this->assertTrue($result === null);
$this->assertNull($result);

$result = $this->Dbo->length('datetime');
$expected = null;
Expand Down

0 comments on commit dabf557

Please sign in to comment.