From 5b94a188b76a0b6d45e6341435f764cedc24fd6f Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Mon, 6 Nov 2023 21:20:12 -0500 Subject: [PATCH] fix tests --- tests/DependencyInjection/MoneyExtensionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DependencyInjection/MoneyExtensionTest.php b/tests/DependencyInjection/MoneyExtensionTest.php index 2b0a142..ccce4cc 100644 --- a/tests/DependencyInjection/MoneyExtensionTest.php +++ b/tests/DependencyInjection/MoneyExtensionTest.php @@ -149,7 +149,7 @@ public function testMoneyDoctrineMapping(): void self::assertTrue($metadata->isEmbeddedClass); self::assertSame(Money::class, $metadata->getName()); self::assertSame(['amount', 'currency.code'], $metadata->getFieldNames()); - self::assertSame('integer', $metadata->getTypeOfField('amount')); + self::assertSame('string', $metadata->getTypeOfField('amount')); self::assertSame('string', $metadata->getTypeOfField('currency.code')); self::assertCount(1, $metadata->embeddedClasses); self::assertSame(Currency::class, $metadata->embeddedClasses['currency']['class']);