test: rename PROPFIND response check steps

test: fix tests
This commit is contained in:
Saw-jan
2024-10-01 18:07:47 +05:45
parent 08922584bc
commit 732f2b241e
15 changed files with 124 additions and 108 deletions

View File

@@ -132,7 +132,7 @@ class GraphHelper {
*
* @return string regex pattern
*/
public static function sanitizeRegexPattern(string $pattern): string {
public static function jsonSchemaRegexToPureRegex(string $pattern): string {
$pattern = \str_replace("\\\\", "\\", $pattern);
$pattern = \str_replace("/", "\/", $pattern);
$pattern = \preg_replace('/^\^/', '', $pattern);