Skip to content

Commit

Permalink
Fix tests with incorrect manipulations
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMeshok committed May 3, 2024
1 parent 89c0f95 commit 6a8967e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions tests/Feature/Media/UpdateManipulationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public function registerMediaConversions(?Media $media = null): void

$media->manipulations = [
'update_test' => [
'width' => 1,
'height' => 1,
'width' => [1],
'height' => [1],
],
];

Expand All @@ -51,9 +51,10 @@ public function registerMediaConversions(?Media $media = null): void

$media->manipulations = [
'update_test' => [
'width' => 1,
'height' => 1,
], ];
'width' => [1],
'height' => [1],
],
];

$media->save();

Expand All @@ -63,9 +64,10 @@ public function registerMediaConversions(?Media $media = null): void

$media->manipulations = [
'update_test' => [
'width' => 1,
'height' => 1,
], ];
'width' => [1],
'height' => [1],
],
];

$media->updated_at = now()->addSecond();

Expand Down

0 comments on commit 6a8967e

Please sign in to comment.