We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64cb9b2 commit bf224eeCopy full SHA for bf224ee
tests/Model/IndexInputTest.php
@@ -67,7 +67,7 @@ public function provideExpectedNameAndKey(): array
67
68
public function testBsonSerialization(): void
69
{
70
- $expected = [
+ $expected = (object) [
71
'key' => ['x' => 1],
72
'unique' => true,
73
'name' => 'x_1',
@@ -79,6 +79,6 @@ public function testBsonSerialization(): void
79
]);
80
81
$this->assertInstanceOf(Serializable::class, $indexInput);
82
- $this->assertSame($expected, $indexInput->bsonSerialize());
+ $this->assertEquals($expected, $indexInput->bsonSerialize());
83
}
84
0 commit comments