"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/Sabre/DAV/ServerPluginTest.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.

ServerPluginTest.php  (dav-4.0.2):ServerPluginTest.php  (dav-4.0.3)
skipping to change at line 63 skipping to change at line 63
$this->assertEquals([ $this->assertEquals([
'DAV' => ['1, 3, extended-mkcol, drinking'], 'DAV' => ['1, 3, extended-mkcol, drinking'],
'MS-Author-Via' => ['DAV'], 'MS-Author-Via' => ['DAV'],
'Allow' => ['OPTIONS, GET, HEAD, DELETE, PROPFIND, PUT, PROPPATCH, C OPY, MOVE, REPORT, BEER, WINE'], 'Allow' => ['OPTIONS, GET, HEAD, DELETE, PROPFIND, PUT, PROPPATCH, C OPY, MOVE, REPORT, BEER, WINE'],
'Accept-Ranges' => ['bytes'], 'Accept-Ranges' => ['bytes'],
'Content-Length' => ['0'], 'Content-Length' => ['0'],
'X-Sabre-Version' => [Version::VERSION], 'X-Sabre-Version' => [Version::VERSION],
], $this->response->getHeaders()); ], $this->response->getHeaders());
$this->assertEquals(200, $this->response->status); $this->assertEquals(200, $this->response->status);
$this->assertEquals('', $this->response->body); $this->assertEquals('', $this->response->getBodyAsString());
$this->assertEquals('OPTIONS', $this->testPlugin->beforeMethod); $this->assertEquals('OPTIONS', $this->testPlugin->beforeMethod);
} }
public function testGetPlugin() public function testGetPlugin()
{ {
$this->assertEquals($this->testPlugin, $this->server->getPlugin(get_clas s($this->testPlugin))); $this->assertEquals($this->testPlugin, $this->server->getPlugin(get_clas s($this->testPlugin)));
} }
public function testUnknownPlugin() public function testUnknownPlugin()
{ {
 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)