diff --git a/tests/Enum/EnumSerializerHandlerTest.php b/tests/Enum/EnumSerializerHandlerTest.php index 4bff169..10297e3 100644 --- a/tests/Enum/EnumSerializerHandlerTest.php +++ b/tests/Enum/EnumSerializerHandlerTest.php @@ -38,19 +38,19 @@ public function testSerializeEnumToXml(): void public function jsonTypesDataProvider(): Generator { - yield [ + yield 'integer' => [ 'value' => TypeEnum::INTEGER, 'serializedValue' => '1', ]; - yield [ + yield 'string' => [ 'value' => TypeEnum::STRING, 'serializedValue' => '"foo"', ]; - yield [ + yield 'float' => [ 'value' => TypeEnum::FLOAT, 'serializedValue' => '2.5', ]; - yield [ + yield 'boolean' => [ 'value' => TypeEnum::BOOLEAN, 'serializedValue' => 'true', ]; @@ -74,19 +74,19 @@ public function testSerializeJsonTypes($value, string $serializedValue): void public function xmlTypesDataProvider(): Generator { - yield [ + yield 'integer' => [ 'value' => TypeEnum::INTEGER, 'serializedValue' => '1', ]; - yield [ + yield 'string' => [ 'value' => TypeEnum::STRING, 'serializedValue' => '', ]; - yield [ + yield 'float' => [ 'value' => TypeEnum::FLOAT, 'serializedValue' => '2.5', ]; - yield [ + yield 'boolean' => [ 'value' => TypeEnum::BOOLEAN, 'serializedValue' => 'true', ];