diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eeeed15..fc9946b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org). - Fix Chart samples by updating chart parameter from 0 to DataSeries::EMPTY_AS_GAP [#1448](https://github.com/PHPOffice/PhpSpreadsheet/pull/1448) - Fix return type in docblock for the Cells::get() [#1398](https://github.com/PHPOffice/PhpSpreadsheet/pull/1398) +- Fix RATE, PRICE, XIRR, and XNPV Functions [#1456](https://github.com/PHPOffice/PhpSpreadsheet/pull/1456) ### Changed diff --git a/tests/PhpSpreadsheetTests/Calculation/FinancialTest.php b/tests/PhpSpreadsheetTests/Calculation/FinancialTest.php index f1d51e18..5c3928eb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/FinancialTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/FinancialTest.php @@ -461,7 +461,7 @@ class FinancialTest extends TestCase public function providerPRICE3() { - return require 'data/Calculation/Financial/PRICE3.php'; + return require 'tests/data/Calculation/Financial/PRICE3.php'; } /** @@ -559,7 +559,7 @@ class FinancialTest extends TestCase public function providerXNPV() { - return require 'data/Calculation/Financial/XNPV.php'; + return require 'tests/data/Calculation/Financial/XNPV.php'; } /**