Skip to content

Commit 373d417

Browse files
author
Daniel Plainview
committed
Use proper method for fail
1 parent 76db854 commit 373d417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core/DbConnectionTest.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function testPostgresql()
1515
{
1616
try {
1717
$link = DBPool::me()->getLink('badLink');
18-
$this->assertFalse(true, 'Unreachable code');
18+
$this->fail('Unreachable code');
1919
} catch(Exception $e) {
2020
$this->assertInstanceOf('DatabaseException', $e);
2121
}

0 commit comments

Comments
 (0)