Browse Source

Avoid assertion-free test

Jordi Boggiano 8 years ago
parent
commit
eba07cbad2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/Monolog/Handler/RotatingFileHandlerTest.php

+ 1 - 0
tests/Monolog/Handler/RotatingFileHandlerTest.php

@@ -145,6 +145,7 @@ class RotatingFileHandlerTest extends TestCase
             $this->setExpectedExceptionRegExp(InvalidArgumentException::class, '~^Invalid date format~');
             $this->setExpectedExceptionRegExp(InvalidArgumentException::class, '~^Invalid date format~');
         }
         }
         $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
         $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
+        $this->assertTrue(true);
     }
     }
 
 
     public function dateFormatProvider()
     public function dateFormatProvider()