Skip to content

Commit 4456354

Browse files
Fix reference parameter test to expect array instead of object (#9)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Max Prilutskiy <maks.prilutskiy@gmail.com>
1 parent dc82e1d commit 4456354

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)