Commit 4f6ecd3d authored by Andreas Fischer's avatar Andreas Fischer
Browse files

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

parent 23442989
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment