From 9230e25646ef97757835931e6ffdfa8f6257fdab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Mon, 16 Dec 2024 09:56:04 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Konrad Oboza --- .../DataTransformer/DateTimePickerTransformerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/lib/Form/DataTransformer/DateTimePickerTransformerTest.php b/tests/lib/Form/DataTransformer/DateTimePickerTransformerTest.php index b4d12faf72..5bfce9f805 100644 --- a/tests/lib/Form/DataTransformer/DateTimePickerTransformerTest.php +++ b/tests/lib/Form/DataTransformer/DateTimePickerTransformerTest.php @@ -17,7 +17,7 @@ final class DateTimePickerTransformerTest extends TestCase { /** - * @dataProvider dataProviderForTransform + * @dataProvider dataProviderForTestTransform */ public function testTransform(): void { @@ -29,7 +29,7 @@ public function testTransform(): void /** * @return iterable */ - public function dataProviderForTransform(): iterable + public function dataProviderForTestTransform(): iterable { yield 'null' => [null, null]; yield 'DateTime' => [new DateTime('2021-01-01 00:00:00'), 1609459200]; @@ -46,7 +46,7 @@ public function testTransformWithInvalidValue(): void } /** - * @dataProvider dataProviderForReverseTransform + * @dataProvider dataProviderForTestReverseTransform */ public function testReverseTransform(): void { @@ -58,7 +58,7 @@ public function testReverseTransform(): void /** * @return iterable */ - public function dataProviderForReverseTransform(): iterable + public function dataProviderForTestReverseTransform(): iterable { yield 'null' => [null, null]; yield 'DateTime' => [1609459200, new DateTime('2021-01-01 00:00:00')];