summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/user
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-04-10 13:50:33 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-03 12:59:10 +0200
commitd52fbd7e557a2442a2817f8663b9143a1323ba1f (patch)
tree5298fc012d2fe9d78cbf6ed96dce1826fb2a6027 /apps/user_ldap/tests/user
parent342e1fd3bf267745a074d046323dc37a732da3c6 (diff)
downloadnextcloud-server-d52fbd7e557a2442a2817f8663b9143a1323ba1f.tar.gz
nextcloud-server-d52fbd7e557a2442a2817f8663b9143a1323ba1f.zip
adjust test to changed convention in storing quota
Diffstat (limited to 'apps/user_ldap/tests/user')
-rw-r--r--apps/user_ldap/tests/user/user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/user/user.php b/apps/user_ldap/tests/user/user.php
index 875e64e4fcf..315dbdd2ee8 100644
--- a/apps/user_ldap/tests/user/user.php
+++ b/apps/user_ldap/tests/user/user.php
@@ -197,7 +197,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase {
->with($this->equalTo('alice'),
$this->equalTo('files'),
$this->equalTo('quota'),
- $this->equalTo(\OCP\Util::computerFileSize('42 GB')))
+ $this->equalTo('42 GB'))
->will($this->returnValue(true));
$uid = 'alice';
@@ -240,7 +240,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase {
->with($this->equalTo('alice'),
$this->equalTo('files'),
$this->equalTo('quota'),
- $this->equalTo(\OCP\Util::computerFileSize('23 GB')))
+ $this->equalTo('23 GB'))
->will($this->returnValue(true));
$uid = 'alice';
@@ -283,7 +283,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase {
->with($this->equalTo('alice'),
$this->equalTo('files'),
$this->equalTo('quota'),
- $this->equalTo(\OCP\Util::computerFileSize('23 GB')))
+ $this->equalTo('23 GB'))
->will($this->returnValue(true));
$uid = 'alice';