From 4c8cdf992cdec223960472c1bab66d09f49161e4 Mon Sep 17 00:00:00 2001 From: Benjamin Nussbaum Date: Sun, 16 Mar 2025 22:20:55 +0100 Subject: [PATCH] ci: fix test --- tests/Feature/FetchProxyCloudResponsesTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/Feature/FetchProxyCloudResponsesTest.php b/tests/Feature/FetchProxyCloudResponsesTest.php index c9a3b63..64af958 100644 --- a/tests/Feature/FetchProxyCloudResponsesTest.php +++ b/tests/Feature/FetchProxyCloudResponsesTest.php @@ -67,7 +67,10 @@ test('it fetches and processes proxy cloud responses for devices', function () { $device->refresh(); expect($device->current_screen_image)->toBe('test-image') - ->and($device->proxy_cloud_response)->toBe('{"image_url":"https:\\/\\/example.com\\/test-image.bmp","filename":"test-image"}'); + ->and($device->proxy_cloud_response)->toBe([ + 'image_url' => 'https://example.com/test-image.bmp', + 'filename' => 'test-image', + ]); // Assert the image was saved Storage::disk('public')->assertExists('images/generated/test-image.bmp');