From: Arthur Schiwon Date: Thu, 10 Apr 2014 11:50:33 +0000 (+0200) Subject: adjust test to changed convention in storing quota X-Git-Tag: v7.0.0alpha2~134^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d52fbd7e557a2442a2817f8663b9143a1323ba1f;p=nextcloud-server.git adjust test to changed convention in storing quota --- 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';