Skip to content

Commit fa9335f

Browse files
Fix reference parameter test to expect array instead of object
Co-Authored-By: Max Prilutskiy <maks.prilutskiy@gmail.com>
1 parent dc82e1d commit fa9335f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/LingoDotDevEngineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function testReferenceParameterHandling()
312312
$requestBody = json_decode($request->getBody()->getContents(), true);
313313

314314
$this->assertArrayHasKey('reference', $requestBody);
315-
$this->assertEquals(new \stdClass(), $requestBody['reference']);
315+
$this->assertEquals([], $requestBody['reference']);
316316

317317
$this->assertArrayHasKey('params', $requestBody);
318318
$this->assertArrayHasKey('locale', $requestBody);

0 commit comments

Comments
 (0)