Skip to content

Commit

Permalink
Add additional test assertion for Log::drop()
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 26, 2013
1 parent cdc6818 commit 4a7ede1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Cake/Test/TestCase/Log/LogTest.php
Expand Up @@ -114,7 +114,8 @@ public function testDrop() {
$result = Log::configured();
$this->assertContains('file', $result);

Log::drop('file');
$this->assertTrue(Log::drop('file'), 'Should be dropped');
$this->assertFalse(Log::drop('file'), 'Already gone');

$result = Log::configured();
$this->assertNotContains('file', $result);
Expand Down

0 comments on commit 4a7ede1

Please sign in to comment.