Skip to content

Commit

Permalink
Avoid assertion-free test
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jun 18, 2017
1 parent 0273c31 commit eba07cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Monolog/Handler/RotatingFileHandlerTest.php
Expand Up @@ -145,6 +145,7 @@ public function testAllowOnlyFixedDefinedDateFormats($dateFormat, $valid)
$this->setExpectedExceptionRegExp(InvalidArgumentException::class, '~^Invalid date format~');
}
$handler->setFilenameFormat('{filename}-{date}', $dateFormat);
$this->assertTrue(true);
}

public function dateFormatProvider()
Expand Down

0 comments on commit eba07cb

Please sign in to comment.