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']);