Skip to content

Commit

Permalink
running php-cs-fixer to fix assertCount change
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydiablo committed Jun 28, 2018
1 parent 5e9552d commit 4aa6b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Zend/Log/LogTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function testLogWritesStandardFields()
$logger = new Zend_Log($mock = new Zend_Log_Writer_Mock);
$logger->info('foo');

$this->assertEquals(1, count($mock->events));
$this->assertCount(1, $mock->events);
$event = array_shift($mock->events);

$standardFields = array_flip(array('timestamp', 'priority', 'priorityName', 'message'));
Expand All @@ -188,7 +188,7 @@ public function testLogWritesAndOverwritesExtraFields()
$logger->setEventItem($field = 'bar', $value = 43);
$logger->info('foo');

$this->assertEquals(1, count($mock->events));
$this->assertCount(1, $mock->events);
$event = array_shift($mock->events);

$this->assertArrayHasKey($field, $event);
Expand Down

0 comments on commit 4aa6b50

Please sign in to comment.