From de360d862bf4643772394379d310191d46abe6fe Mon Sep 17 00:00:00 2001 From: Denis Smet Date: Wed, 9 Oct 2024 15:42:03 +0400 Subject: [PATCH] Adjust expected value in tests (#204) --- tests/Rules/Cell/ComboDateAgeTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Rules/Cell/ComboDateAgeTest.php b/tests/Rules/Cell/ComboDateAgeTest.php index b82748a3..d2983bd0 100644 --- a/tests/Rules/Cell/ComboDateAgeTest.php +++ b/tests/Rules/Cell/ComboDateAgeTest.php @@ -34,7 +34,7 @@ public function testEqual(): void isSame('', $rule->test('now')); isSame( - 'The age of the value "2020-10-02" is parsed as "3" years, ' . + 'The age of the value "2020-10-02" is parsed as "4" years, ' . 'which is not equal than the expected "0 years"', $rule->test('2020-10-02'), ); @@ -58,7 +58,7 @@ public function testMin(): void isSame('', $rule->test('2100-01')); isSame( - 'The age of the value "2020-10-02" is parsed as "3" years, ' . + 'The age of the value "2020-10-02" is parsed as "4" years, ' . 'which is less than the expected "21 years"', $rule->test('2020-10-02'), );