@@ -304,8 +304,11 @@ public function testPropFindUnfilteredDepth0()
304304 $ result = $ client ->propFindUnfiltered ('folder1 ' , ['{DAV:}resourcetype ' , '{DAV:}displayname ' , '{urn:zim}gir ' ]);
305305
306306 self ::assertEquals ([
307- '{DAV:}resourcetype ' => new Xml \Property \ResourceType ('{DAV:}collection ' ),
308- '{DAV:}displayname ' => 'Folder1 ' ,
307+ 'properties ' => [
308+ '{DAV:}resourcetype ' => new Xml \Property \ResourceType ('{DAV:}collection ' ),
309+ '{DAV:}displayname ' => 'Folder1 ' ,
310+ ],
311+ 'status ' => 200 ,
309312 ], $ result );
310313
311314 $ request = $ client ->request ;
@@ -382,20 +385,32 @@ public function testPropFindUnfiltered()
382385
383386 self ::assertEquals ([
384387 '/folder1 ' => [
385- '{DAV:}resourcetype ' => new Xml \Property \ResourceType ('{DAV:}collection ' ),
386- '{DAV:}displayname ' => 'Folder1 ' ,
388+ 'properties ' => [
389+ '{DAV:}resourcetype ' => new Xml \Property \ResourceType ('{DAV:}collection ' ),
390+ '{DAV:}displayname ' => 'Folder1 ' ,
391+ ],
392+ 'status ' => 200 ,
387393 ],
388394 '/folder1/file1.txt ' => [
389- '{DAV:}resourcetype ' => null ,
390- '{DAV:}displayname ' => 'File1 ' ,
395+ 'properties ' => [
396+ '{DAV:}resourcetype ' => null ,
397+ '{DAV:}displayname ' => 'File1 ' ,
398+ ],
399+ 'status ' => 200 ,
391400 ],
392401 '/folder1/file2.txt ' => [
393- '{DAV:}resourcetype ' => null ,
394- '{DAV:}displayname ' => 'File2 ' ,
402+ 'properties ' => [
403+ '{DAV:}resourcetype ' => null ,
404+ '{DAV:}displayname ' => 'File2 ' ,
405+ ],
406+ 'status ' => 403 ,
395407 ],
396408 '/folder1/file3.txt ' => [
397- '{DAV:}resourcetype ' => null ,
398- '{DAV:}displayname ' => 'File3 ' ,
409+ 'properties ' => [
410+ '{DAV:}resourcetype ' => null ,
411+ '{DAV:}displayname ' => 'File3 ' ,
412+ ],
413+ 'status ' => 425 ,
399414 ],
400415 ], $ result );
401416
0 commit comments