diff --git a/unitTests/BaseFunctionTestAbstract.php b/unitTests/BaseFunctionTestAbstract.php index 11eb6bf..8b25202 100644 --- a/unitTests/BaseFunctionTestAbstract.php +++ b/unitTests/BaseFunctionTestAbstract.php @@ -57,7 +57,7 @@ protected function getAssertionPrecision($value) protected function complexNumberAssertions($expected, $result) { if (is_numeric($expected)) { - $this->assertEquals($expected, (string) $result, null, $this->getAssertionPrecision($expected)); + $this->assertEquals($expected, (string) $result, 'Numeric Assertion', $this->getAssertionPrecision($expected)); } else { $expected = new Complex($expected); $this->assertEquals( diff --git a/unitTests/classes/src/ComplexTest.php b/unitTests/classes/src/ComplexTest.php index 0f617d4..92283ef 100644 --- a/unitTests/classes/src/ComplexTest.php +++ b/unitTests/classes/src/ComplexTest.php @@ -30,7 +30,7 @@ protected function getAssertionPrecision($value) public function complexNumberAssertions($expected, $result) { if (is_numeric($expected)) { - $this->assertEquals($expected, (string) $result, null, $this->getAssertionPrecision($expected)); + $this->assertEquals($expected, (string) $result, 'Numeric Assertion', $this->getAssertionPrecision($expected)); } else { $expected = new Complex($expected); $this->assertEquals(