From 0e12c136c5fcd24b5e9dbf01bc416aee4a3482d2 Mon Sep 17 00:00:00 2001 From: Wojtek Naruniec Date: Thu, 15 Dec 2022 10:12:10 +0100 Subject: [PATCH] Fix tests to account for current core behavior --- features/media-regenerate.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/media-regenerate.feature b/features/media-regenerate.feature index 51d4bd3b..d9c0c933 100644 --- a/features/media-regenerate.feature +++ b/features/media-regenerate.feature @@ -40,7 +40,7 @@ Feature: Regenerate WordPress attachments When I run `wp media import {CACHE_DIR}/white-150-square.jpg --title="My imported small attachment" --porcelain` Then save STDOUT as {SMALL_ATTACHMENT_ID} And the wp-content/uploads/white-150-square.jpg file should exist - And the wp-content/uploads/white-150-square-150x150.jpg file should exist + And the wp-content/uploads/white-150-square-150x150.jpg file should not exist And the wp-content/uploads/white-150-square-300x300.jpg file should not exist And the wp-content/uploads/white-150-square-1024x1024.jpg file should not exist @@ -76,7 +76,7 @@ Feature: Regenerate WordPress attachments And the wp-content/uploads/canola-300x225.jpg file should exist And the wp-content/uploads/canola-1024x768.jpg file should not exist And the wp-content/uploads/white-150-square.jpg file should exist - And the wp-content/uploads/white-150-square-150x150.jpg file should exist + And the wp-content/uploads/white-150-square-150x150.jpg file should not exist And the wp-content/uploads/white-150-square-300x300.jpg file should not exist And the wp-content/uploads/white-150-square-1024x1024.jpg file should not exist