Skip to content
Permalink
Browse files

Add additional test assertion for Log::drop()

  • Loading branch information...
markstory committed Aug 26, 2013
1 parent cdc6818 commit 4a7ede18beec51019ff9b68a51cd6f4c702e4a71
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Test/TestCase/Log/LogTest.php
@@ -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);

0 comments on commit 4a7ede1

Please sign in to comment.
You can’t perform that action at this time.