From b4750c4b7252d64d67ab01a6a815e2174918eb5d Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Tue, 26 Sep 2023 16:37:44 +0200 Subject: [PATCH] Modify test-suite (upper/lowercase issues) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörn Friedrich Dreyer Signed-off-by: Christian Richter --- .../enforcePasswordPublicLink.feature | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/acceptance/features/apiGraph/enforcePasswordPublicLink.feature b/tests/acceptance/features/apiGraph/enforcePasswordPublicLink.feature index e1febbc361..6d8ef4117b 100644 --- a/tests/acceptance/features/apiGraph/enforcePasswordPublicLink.feature +++ b/tests/acceptance/features/apiGraph/enforcePasswordPublicLink.feature @@ -112,10 +112,10 @@ Feature: enforce password on public link And the OCS status message should be: """ At least 13 characters are required - At least 3 lowercase letters are required - At least 2 uppercase letters are required - At least 2 numbers are required - At least 2 special characters are required !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ + at least 3 lowercase letters are required + at least 2 uppercase letters are required + at least 2 numbers are required + at least 2 special characters are required !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ """ Examples: | ocs-api-version | http-code | @@ -176,10 +176,10 @@ Feature: enforce password on public link And the OCS status message should be: """ At least 13 characters are required - At least 3 lowercase letters are required - At least 2 uppercase letters are required - At least 1 numbers are required - At least 2 special characters are required !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ + at least 3 lowercase letters are required + at least 2 uppercase letters are required + at least 1 numbers are required + at least 2 special characters are required !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ """ Examples: | ocs-api-version | http-code | @@ -238,10 +238,10 @@ Feature: enforce password on public link And the OCS status message should be "" Examples: | config | config-value | password | message | - | FRONTEND_PASSWORD_POLICY_MIN_CHARACTERS | 5 | 1234 | at least 5 characters are required | - | FRONTEND_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS | 3 | TesT | at least 3 lowercase letters are required | - | FRONTEND_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS | 3 | TesT | at least 3 uppercase letters are required | - | FRONTEND_PASSWORD_POLICY_MIN_DIGITS | 2 | test1 | at least 2 numbers are required | + | FRONTEND_PASSWORD_POLICY_MIN_CHARACTERS | 5 | 1234 | At least 5 characters are required | + | FRONTEND_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS | 3 | TesT | At least 3 lowercase letters are required | + | FRONTEND_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS | 3 | TesT | At least 3 uppercase letters are required | + | FRONTEND_PASSWORD_POLICY_MIN_DIGITS | 2 | test1 | At least 2 numbers are required | Scenario Outline: update a public link with a password that is listed in the Banned-Password-List @@ -260,9 +260,9 @@ Feature: enforce password on public link And the OCS status message should be "" Examples: | password | http-code | ocs-code | message | - | 123 | 400 | 400 | unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | - | password | 400 | 400 | unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | - | ownCloud | 400 | 400 | unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | + | 123 | 400 | 400 | Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | + | password | 400 | 400 | Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | + | ownCloud | 400 | 400 | Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | | 1234 | 200 | 200 | OK | | OwnCloud | 200 | 200 | OK | | p@ssword | 200 | 200 | OK | @@ -282,9 +282,9 @@ Feature: enforce password on public link And the OCS status message should be "" Examples: | password | http-code | ocs-code | message | - | 123 | 400 | 400 | unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | - | password | 400 | 400 | unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | - | ownCloud | 400 | 400 | unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | + | 123 | 400 | 400 | Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | + | password | 400 | 400 | Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | + | ownCloud | 400 | 400 | Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety | | 1234 | 200 | 200 | OK | | OwnCloud | 200 | 200 | OK | | p@ssword | 200 | 200 | OK |