дзеркало
https://github.com/nextcloud/server.git
synced 2024-08-24 17:55:37 +02:00
Fix tests
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
This commit is contained in:
джерело
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));
|
||||
}
|
||||
|
||||
|
Завантаження…
Посилання в новій задачі
Block a user