Closed ernilambar closed 6 months ago
Fixes https://github.com/wp-cli/media-command/issues/190
I think we don't need to add another test for this PR. After adding separate test for this change I realized there is already similar test for the case when media could not be regenerated. So I reverted the tests addition. See: https://github.com/wp-cli/media-command/blob/main/features/media-regenerate.feature#L309
Fixes https://github.com/wp-cli/media-command/issues/190
I think we don't need to add another test for this PR. After adding separate test for this change I realized there is already similar test for the case when media could not be regenerated. So I reverted the tests addition. See: https://github.com/wp-cli/media-command/blob/main/features/media-regenerate.feature#L309