Fix tests

Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
This commit is contained in:
Aaron Dewes 2023-05-11 17:42:12 +02:00 committed by Aaron Dewes
부모 16908999ed
커밋 d79def553f

파일 보기

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