Yaffs site version 1.1
[yaffs-website] / vendor / symfony / process / Tests / ProcessTest.php
index e034aeb28a743d6cff18ada15300b1d800b630e3..a1112b92a7d05727bac473afdb7e40ac36b5f122 100644 (file)
@@ -725,8 +725,8 @@ class ProcessTest extends TestCase
         // Ensure that both processed finished and the output is numeric
         $this->assertFalse($process1->isRunning());
         $this->assertFalse($process2->isRunning());
-        $this->assertTrue(is_numeric($process1->getOutput()));
-        $this->assertTrue(is_numeric($process2->getOutput()));
+        $this->assertInternalType('numeric', $process1->getOutput());
+        $this->assertInternalType('numeric', $process2->getOutput());
 
         // Ensure that restart returned a new process by check that the output is different
         $this->assertNotEquals($process1->getOutput(), $process2->getOutput());