diff options
author | Aaron Dewes <aaron.dewes@protonmail.com> | 2023-05-11 17:42:12 +0200 |
---|---|---|
committer | Aaron Dewes <aaron@runcitadel.space> | 2023-08-13 15:43:04 +0200 |
commit | d79def553f79cc448afda4de011119d1af5b002d (patch) | |
tree | d78a43b9009b1b4b7842759984b9c8a81e3745fc /apps | |
parent | 16908999edae23a31b3f748c31c6c3196b6ba1da (diff) | |
download | nextcloud-server-d79def553f79cc448afda4de011119d1af5b002d.tar.gz nextcloud-server-d79def553f79cc448afda4de011119d1af5b002d.zip |
Fix tests
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/tests/AccessTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/AccessTest.php b/apps/user_ldap/tests/AccessTest.php index ce05839c842..5469b9267e7 100644 --- a/apps/user_ldap/tests/AccessTest.php +++ b/apps/user_ldap/tests/AccessTest.php @@ -137,13 +137,13 @@ class AccessTest extends TestCase { public function testEscapeFilterPartEscapeWildcard() { $input = '*'; - $expected = '\\\\*'; + $expected = '\\2a'; $this->assertTrue($expected === $this->access->escapeFilterPart($input)); } public function testEscapeFilterPartEscapeWildcard2() { $input = 'foo*bar'; - $expected = 'foo\\\\*bar'; + $expected = 'foo\\2abar'; $this->assertTrue($expected === $this->access->escapeFilterPart($input)); } |