1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: ignace nyamagana butera <nyamsprod@gmail.com>
Date: Mon, 8 Sep 2025 22:52:11 +0200
Subject: Fix JsonConverterTest #568
---
src/JsonConverterTest.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/JsonConverterTest.php b/src/JsonConverterTest.php
index 571767c..49b6df0 100644
--- a/src/JsonConverterTest.php
+++ b/src/JsonConverterTest.php
@@ -133,7 +133,7 @@ final class JsonConverterTest extends TestCase
->withoutHexQuot()
->depth(24);
- self::assertEquals($usingJsonFlags, $usingMethodFlags);
+ self::assertSame($usingJsonFlags->encode([['foo' => 'bar']]), $usingMethodFlags->encode([['foo' => 'bar']]));
}
#[Test]
|