Skip to content
Snippets Groups Projects
Commit d52fbd7e authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

adjust test to changed convention in storing quota

parent 342e1fd3
Branches
No related tags found
No related merge requests found
...@@ -197,7 +197,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase { ...@@ -197,7 +197,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase {
->with($this->equalTo('alice'), ->with($this->equalTo('alice'),
$this->equalTo('files'), $this->equalTo('files'),
$this->equalTo('quota'), $this->equalTo('quota'),
$this->equalTo(\OCP\Util::computerFileSize('42 GB'))) $this->equalTo('42 GB'))
->will($this->returnValue(true)); ->will($this->returnValue(true));
$uid = 'alice'; $uid = 'alice';
...@@ -240,7 +240,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase { ...@@ -240,7 +240,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase {
->with($this->equalTo('alice'), ->with($this->equalTo('alice'),
$this->equalTo('files'), $this->equalTo('files'),
$this->equalTo('quota'), $this->equalTo('quota'),
$this->equalTo(\OCP\Util::computerFileSize('23 GB'))) $this->equalTo('23 GB'))
->will($this->returnValue(true)); ->will($this->returnValue(true));
$uid = 'alice'; $uid = 'alice';
...@@ -283,7 +283,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase { ...@@ -283,7 +283,7 @@ class Test_User_User extends \PHPUnit_Framework_TestCase {
->with($this->equalTo('alice'), ->with($this->equalTo('alice'),
$this->equalTo('files'), $this->equalTo('files'),
$this->equalTo('quota'), $this->equalTo('quota'),
$this->equalTo(\OCP\Util::computerFileSize('23 GB'))) $this->equalTo('23 GB'))
->will($this->returnValue(true)); ->will($this->returnValue(true));
$uid = 'alice'; $uid = 'alice';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment