From 7aa83eb72f1a0b944bb725f70660a4bf17b8210e Mon Sep 17 00:00:00 2001 From: Owen Leibman Date: Thu, 13 May 2021 18:57:32 -0700 Subject: [PATCH] Missed One Correct one test. --- .../Calculation/Functions/MathTrig/SumTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php index db393419..3f80b8ec 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php @@ -34,7 +34,7 @@ class SumTest extends AllSetupTeardown */ public function testSUMLiterals($expectedResult, string $args): void { - $sheet = $this->sheet; + $sheet = $this->getSheet(); $sheet->getCell('B1')->setValue("=SUM($args)"); $result = $sheet->getCell('B1')->getCalculatedValue(); self::assertEqualsWithDelta($expectedResult, $result, 1E-12);