mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
refactor: image render pipeline
This commit is contained in:
parent
97e6beaee4
commit
29d1838690
2 changed files with 109 additions and 249 deletions
|
|
@ -99,8 +99,8 @@ it('get_image_settings uses defaults for missing device properties', function ()
|
|||
expect($settings['mime_type'])->toBe('image/png');
|
||||
expect($settings['offset_x'])->toBe(0);
|
||||
expect($settings['offset_y'])->toBe(0);
|
||||
// image_format will be null if the device doesn't have it set, which is the expected behavior
|
||||
expect($settings['image_format'])->toBeNull();
|
||||
// image_format defaults to 'auto' when not set
|
||||
expect($settings['image_format'])->toBe('auto');
|
||||
})->skipOnCi();
|
||||
|
||||
it('determine_image_format_from_model returns correct formats', function (): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue