Add stock items, groups and movements at a moving average cost
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -77,7 +77,7 @@ it('stores a downscaled image and a thumbnail without metadata and shows them on
|
||||
});
|
||||
|
||||
it('turns a sideways phone photo upright and leaves out its EXIF data', function () {
|
||||
$stored = (new GdTaskImageFiles)->store(sidewaysJpeg(40, 20), $this->task->id);
|
||||
$stored = app(GdTaskImageFiles::class)->store(sidewaysJpeg(40, 20), $this->task->id);
|
||||
$bytes = Storage::disk('local')->get($stored->path);
|
||||
|
||||
expect(getimagesizefromstring($bytes)[0])->toBe(20)
|
||||
|
||||
Reference in New Issue
Block a user