\OC\Connector\Sabre\CopyEtagHeaderPlugin constructor does not take arguments.

This commit is contained in:
Andreas Fischer 2015-05-07 12:24:06 +02:00
parent 2344298954
commit 4f6ecd3da6

View file

@ -18,7 +18,7 @@ class CopyEtagPluginTest extends \Test\TestCase {
public function setUp() {
parent::setUp();
$this->server = new \Sabre\DAV\Server();
$this->plugin = new \OC\Connector\Sabre\CopyEtagHeaderPlugin($this->tree);
$this->plugin = new \OC\Connector\Sabre\CopyEtagHeaderPlugin();
$this->plugin->initialize($this->server);
}