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

compatibility
This commit is contained in:
Raffael Sahli 2018-08-16 13:28:49 +02:00
commit e3cd505199
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);
}
}