From fa9335fa16571e3d79728199541b8f186309aff4 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 3 May 2025 06:58:25 +0000 Subject: [PATCH] Fix reference parameter test to expect array instead of object Co-Authored-By: Max Prilutskiy --- tests/LingoDotDevEngineTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/LingoDotDevEngineTest.php b/tests/LingoDotDevEngineTest.php index ea3046f..59bd1ee 100644 --- a/tests/LingoDotDevEngineTest.php +++ b/tests/LingoDotDevEngineTest.php @@ -312,7 +312,7 @@ public function testReferenceParameterHandling() $requestBody = json_decode($request->getBody()->getContents(), true); $this->assertArrayHasKey('reference', $requestBody); - $this->assertEquals(new \stdClass(), $requestBody['reference']); + $this->assertEquals([], $requestBody['reference']); $this->assertArrayHasKey('params', $requestBody); $this->assertArrayHasKey('locale', $requestBody);