Add test for homestorage getOwner

remotes/origin/fix-10825
Robin Appelman 11 years ago
parent e9de20952a
commit a8532aa2f0
  1. 6
      tests/lib/files/storage/home.php

@ -53,6 +53,8 @@ class Home extends Storage {
*/
private $tmpDir;
private $userId;
/**
* @var \OC\User\User $user
*/
@ -97,4 +99,8 @@ class Home extends Storage {
public function testGetCacheReturnsHomeCache() {
$this->assertInstanceOf('\OC\Files\Cache\HomeCache', $this->instance->getCache());
}
public function testGetOwner() {
$this->assertEquals($this->userId, $this->instance->getOwner(''));
}
}

Loading…
Cancel
Save