Alexander Dmitryuk 6 years ago
parent
commit
b7cee792db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Monolog/Handler/ProcessHandlerTest.php

+ 1 - 1
tests/Monolog/Handler/ProcessHandlerTest.php

@@ -48,7 +48,7 @@ class ProcessHandlerTest extends TestCase
 
 
         $handler->expects($this->exactly(2))
         $handler->expects($this->exactly(2))
             ->method('writeProcessInput')
             ->method('writeProcessInput')
-            ->withConsecutive($this->stringContains($fixtures[0]), $this->stringContains($fixtures[1]));
+            ->withConsecutive([$this->stringContains($fixtures[0])], [$this->stringContains($fixtures[1])]);
 
 
         /** @var ProcessHandler $handler */
         /** @var ProcessHandler $handler */
         $handler->handle($this->getRecord(Logger::WARNING, $fixtures[0]));
         $handler->handle($this->getRecord(Logger::WARNING, $fixtures[0]));