Browse Source

Fix tests

Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
tags/v28.0.0beta1
Aaron Dewes 1 year ago
parent
commit
d79def553f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      apps/user_ldap/tests/AccessTest.php

+ 2
- 2
apps/user_ldap/tests/AccessTest.php View File

@@ -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));
}


Loading…
Cancel
Save