mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-22 08:09:15 +00:00
Remove Deprecations from Release 2
In preparation for Release 3.
This commit is contained in:
@@ -43,10 +43,10 @@ class TranslationTest extends TestCase
|
||||
self::markTestSkipped("Unable to set locale to {$locale}");
|
||||
}
|
||||
|
||||
$translatedFormula = Calculation::getInstance()->_translateFormulaToLocale($formula);
|
||||
$translatedFormula = Calculation::getInstance()->translateFormulaToLocale($formula);
|
||||
self::assertSame($expectedResult, $translatedFormula);
|
||||
|
||||
$restoredFormula = Calculation::getInstance()->_translateFormulaToEnglish($translatedFormula);
|
||||
$restoredFormula = Calculation::getInstance()->translateFormulaToEnglish($translatedFormula);
|
||||
self::assertSame(preg_replace(Calculation::CALCULATION_REGEXP_STRIP_XLFN_XLWS, '', $formula), $restoredFormula);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user