mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
ci: fix test
This commit is contained in:
parent
3906747b1a
commit
4c8cdf992c
1 changed files with 4 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue