diff --git a/tests/PhpSpreadsheetTests/Calculation/RefErrorTest.php b/tests/PhpSpreadsheetTests/Calculation/RefErrorTest.php index e9f45104c6..9c3055b2de 100644 --- a/tests/PhpSpreadsheetTests/Calculation/RefErrorTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/RefErrorTest.php @@ -31,7 +31,7 @@ public function testRefError($expected, string $formula): void $sheet1->getCell('C2')->setValue('=Sheet2!A1'); $sheet1->getCell('C3')->setValue('=Sheet2!A2'); $sheet1->getCell('H1')->setValue($formula); - self::assertSame($expected, $sheet1->getCell('H1')->getCalculatedValue()); + self::assertEqual($expected, $sheet1->getCell('H1')->getCalculatedValue()); $spreadsheet->disconnectWorksheets(); }