aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2021-06-23 11:20:19 +0200
committerGitHub <noreply@github.com>2021-06-23 11:20:19 +0200
commitee7a4842844f19fb14f332ef85252d6adc968283 (patch)
treea7f91df996235bb022a3b18da9f12ed64fab698e /tests
parentc6d5653a85df1d007baca42ae67643fff937c2ab (diff)
parent5f468c0248b6a36bcbf20953a4223168617c6926 (diff)
downloadnextcloud-server-ee7a4842844f19fb14f332ef85252d6adc968283.tar.gz
nextcloud-server-ee7a4842844f19fb14f332ef85252d6adc968283.zip
Merge pull request #26346 from J0WI/clean-auth-regex
Cleaner removePassword regex
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/ErrorHandlerTest.php10
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'],
];
}