Implemented IShare::append(), leave ::write() due backwards compatibility

This commit is contained in:
Robin Appelman 2018-08-28 16:21:15 +02:00
commit 59519bad2c
5 changed files with 79 additions and 5 deletions

View file

@ -57,4 +57,11 @@ class ShareTest extends AbstractShareTest {
$share = $this->server->getShare($this->config->share);
$share->dir($this->root);
}
/**
* @expectedException \Icewind\SMB\Exception\InvalidRequestException
*/
public function testAppendStream() {
$fh = $this->share->append($this->root . '/' . $name);
}
}