From ac8351bd3bffd838d42511c0ffd36b625f3c7987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Fri, 21 Mar 2025 14:50:56 +0100 Subject: [PATCH] Adapt test expectations, now that .mlock files are properly removed --- .../features/cliCommands/removeFileVersions.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/features/cliCommands/removeFileVersions.feature b/tests/acceptance/features/cliCommands/removeFileVersions.feature index c203b2e88c..d7c4bbcc8b 100644 --- a/tests/acceptance/features/cliCommands/removeFileVersions.feature +++ b/tests/acceptance/features/cliCommands/removeFileVersions.feature @@ -11,7 +11,7 @@ Feature: remove file versions via CLI command And user "Alice" has uploaded file with content "This is version 3" to "textfile.txt" When the administrator removes all the file versions using the CLI Then the command should be successful - And the command output should contain "✅ Deleted 2 revisions (6 files / 2 blobs)" + And the command output should contain "✅ Deleted 2 revisions (4 files / 2 blobs)" When user "Alice" gets the number of versions of file "textfile.txt" Then the HTTP status code should be "207" And the number of versions should be "0" @@ -26,7 +26,7 @@ Feature: remove file versions via CLI command And user "Alice" has uploaded file with content "This is version 3" to "anotherFile.txt" When the administrator removes the versions of file "randomFile.txt" of user "Alice" from space "Personal" using the CLI Then the command should be successful - And the command output should contain "✅ Deleted 2 revisions (6 files / 2 blobs)" + And the command output should contain "✅ Deleted 2 revisions (4 files / 2 blobs)" When user "Alice" gets the number of versions of file "randomFile.txt" Then the HTTP status code should be "207" And the number of versions should be "0" @@ -52,7 +52,7 @@ Feature: remove file versions via CLI command And we save it into "EPSUM_FILEID" When the administrator removes the file versions of space "projectSpace" using the CLI Then the command should be successful - And the command output should contain "✅ Deleted 4 revisions (12 files / 4 blobs)" + And the command output should contain "✅ Deleted 4 revisions (8 files / 4 blobs)" When user "Alice" gets the number of versions of file "file.txt" Then the HTTP status code should be "207" And the number of versions should be "2"