Skip to content

Commit

Permalink
Modernize Logger
Browse files Browse the repository at this point in the history
  • Loading branch information
bzikarsky committed Apr 5, 2022
1 parent 056a59c commit ca218fe
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/Gelf/Test/LoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,6 @@ function (MessageInterface $message) {
$this->logger->info('0');
}

// @see https://github.com/bzikarsky/gelf-php/issues/9
public function testNumericZeroMessage(): void
{
$this->validatePublish(
function (MessageInterface $message) {
self::assertEquals(0, $message->getShortMessage());
}
);

$this->logger->alert(0);
}

private function validatePublish(Closure $validator): void
{
$this->publisher->expects($this->once())->method('publish')->will(
Expand Down

0 comments on commit ca218fe

Please sign in to comment.