Commit 72cbc44
committed
test: handle empty prefix in WebDAV href pattern matching
Fix regex pattern construction in assertXpathValueMatchesPattern when
prefixRemotePhp is empty. Previously, empty prefix resulted in double
slash patterns (//dav/...) that failed to match actual single slash
href values (/dav/...).
Resolves "Unknown modifier 'd'" regex error in WebDAV property tests.1 parent bacf0a1 commit 72cbc44
File tree
2 files changed
+7
-2
lines changed- tests/acceptance
- bootstrap
- features/coreApiWebdavOperations
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | | - | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
1006 | 1011 | | |
1007 | 1012 | | |
1008 | 1013 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments