Skip to content

Commit

Permalink
Fix test for L9
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer committed Oct 24, 2023
1 parent 5bf3cf9 commit a6b6f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Conversions/Commands/CleanCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
->toMediaCollection('collection1');

// Delete quietly to avoid deleting the related media file.
$mediaToDelete->model->deleteQuietly();
$mediaToDelete->model->deletePreservingMedia();

$this->artisan('media-library:clean', [
'--delete-orphaned' => 'true',
Expand Down

0 comments on commit a6b6f17

Please sign in to comment.