3 require_once 'Sabre/DAV/AbstractServer.php';
5 class Sabre_DAV_Browser_MapGetToPropFindTest extends Sabre_DAV_AbstractServer {
10 $this->server->addPlugin(new Sabre_DAV_Browser_MapGetToPropFind());
14 function testCollectionGet() {
18 'REQUEST_METHOD' => 'GET',
21 $request = new Sabre_HTTP_Request($serverVars);
22 $request->setBody('');
23 $this->server->httpRequest = ($request);
24 $this->server->exec();
26 $this->assertEquals(array(
27 'Content-Type' => 'application/xml; charset=utf-8',
28 'DAV' => '1, 3, extended-mkcol',
30 $this->response->headers
33 $this->assertEquals('HTTP/1.1 207 Multi-Status',$this->response->status,'Incorrect status response received. Full response body: ' . $this->response->body);