]> source.dussan.org Git - nextcloud-server.git/commitdiff
adjust test to changed convention in storing quota
authorArthur Schiwon <blizzz@owncloud.com>
Thu, 10 Apr 2014 11:50:33 +0000 (13:50 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Tue, 3 Jun 2014 10:59:10 +0000 (12:59 +0200)
apps/user_ldap/tests/user/user.php

index 875e64e4fcf0a5c918f5f913a536bada308bb1de..315dbdd2ee8f5148f760be1ab9b27ccee3465eee 100644 (file)
@@ -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';