"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/Sabre/DAV/Browser/MapGetToPropFindTest.php" between
dav-4.0.2.tar.gz and dav-4.0.3.tar.gz

About: sabre/dav is a WebDAV framework for PHP allowing to create WebDAV, CalDAV and CardDAV servers.

MapGetToPropFindTest.php  (dav-4.0.2):MapGetToPropFindTest.php  (dav-4.0.3)
skipping to change at line 32 skipping to change at line 32
$serverVars = [ $serverVars = [
'REQUEST_URI' => '/', 'REQUEST_URI' => '/',
'REQUEST_METHOD' => 'GET', 'REQUEST_METHOD' => 'GET',
]; ];
$request = HTTP\Sapi::createFromServerArray($serverVars); $request = HTTP\Sapi::createFromServerArray($serverVars);
$request->setBody(''); $request->setBody('');
$this->server->httpRequest = ($request); $this->server->httpRequest = ($request);
$this->server->exec(); $this->server->exec();
$this->assertEquals(207, $this->response->status, 'Incorrect status resp onse received. Full response body: '.$this->response->body); $this->assertEquals(207, $this->response->status, 'Incorrect status resp onse received. Full response body: '.$this->response->getBodyAsString());
$this->assertEquals([ $this->assertEquals([
'X-Sabre-Version' => [DAV\Version::VERSION], 'X-Sabre-Version' => [DAV\Version::VERSION],
'Content-Type' => ['application/xml; charset=utf-8'], 'Content-Type' => ['application/xml; charset=utf-8'],
'DAV' => ['1, 3, extended-mkcol'], 'DAV' => ['1, 3, extended-mkcol'],
'Vary' => ['Brief,Prefer'], 'Vary' => ['Brief,Prefer'],
], ],
$this->response->getHeaders() $this->response->getHeaders()
); );
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)