aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-27 11:50:49 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-27 22:04:09 +0100
commit0832cca54e09c9b1f04f3133cc1780ca6ab1ae3b (patch)
tree5fb5215fae670d53397027bf2d156883c2672878 /tests
parent90f2a2352de876a5b125df2b9817f78790b25805 (diff)
downloadnextcloud-server-0832cca54e09c9b1f04f3133cc1780ca6ab1ae3b.tar.gz
nextcloud-server-0832cca54e09c9b1f04f3133cc1780ca6ab1ae3b.zip
[Share 2.0] Fix IShare
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/share20/defaultshareprovidertest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/share20/defaultshareprovidertest.php b/tests/lib/share20/defaultshareprovidertest.php
index f86d4df948d..2bbcdfa0489 100644
--- a/tests/lib/share20/defaultshareprovidertest.php
+++ b/tests/lib/share20/defaultshareprovidertest.php
@@ -596,7 +596,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$this->assertSame($shareOwner, $share2->getShareOwner());
$this->assertSame(1, $share2->getPermissions());
$this->assertSame('/target', $share2->getTarget());
- $this->assertLessThanOrEqual(time(), $share2->getSharetime());
+ $this->assertLessThanOrEqual(time(), $share2->getShareTime());
$this->assertSame($path, $share2->getPath());
}
@@ -659,7 +659,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$this->assertSame($shareOwner, $share2->getShareOwner());
$this->assertSame(1, $share2->getPermissions());
$this->assertSame('/target', $share2->getTarget());
- $this->assertLessThanOrEqual(time(), $share2->getSharetime());
+ $this->assertLessThanOrEqual(time(), $share2->getShareTime());
$this->assertSame($path, $share2->getPath());
}
@@ -718,7 +718,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$this->assertSame($shareOwner, $share2->getShareOwner());
$this->assertSame(1, $share2->getPermissions());
$this->assertSame('/target', $share2->getTarget());
- $this->assertLessThanOrEqual(time(), $share2->getSharetime());
+ $this->assertLessThanOrEqual(time(), $share2->getShareTime());
$this->assertSame($path, $share2->getPath());
$this->assertSame('password', $share2->getPassword());
$this->assertSame('token', $share2->getToken());