diff options
author | J0WI <J0WI@users.noreply.github.com> | 2021-03-27 18:41:43 +0100 |
---|---|---|
committer | J0WI <J0WI@users.noreply.github.com> | 2021-03-27 18:42:58 +0100 |
commit | 5f468c0248b6a36bcbf20953a4223168617c6926 (patch) | |
tree | bc0fcfc2d2d51a781a424da282598e51f4c3150c /tests | |
parent | aec9c8437a3de5d69451ae303ac5334b412f76d8 (diff) | |
download | nextcloud-server-5f468c0248b6a36bcbf20953a4223168617c6926.tar.gz nextcloud-server-5f468c0248b6a36bcbf20953a4223168617c6926.zip |
Cleaner removePassword regex
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/ErrorHandlerTest.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/lib/ErrorHandlerTest.php b/tests/lib/ErrorHandlerTest.php index 702f64bfb99..ea53e67005c 100644 --- a/tests/lib/ErrorHandlerTest.php +++ b/tests/lib/ErrorHandlerTest.php @@ -30,11 +30,15 @@ class ErrorHandlerTest extends \Test\TestCase { */ public function passwordProvider() { return [ - ['user', 'password'], - ['user@owncloud.org', 'password'], - ['user', 'pass@word'], + ['us:er', 'pass@word'], ['us:er', 'password'], + ['user', '-C:R,w)@6*}'], ['user', 'pass:word'], + ['user', 'pass@word'], + ['user', 'password'], + ['user:test@cloud', 'password'], + ['user@owncloud.org', 'password'], + ['user@test@owncloud.org', 'password'], ]; } |