45 lines
975 B
PHP
45 lines
975 B
PHP
<?php
|
|
/**
|
|
* Copyright 2010-2017 Horde LLC (http://www.horde.org/)
|
|
*
|
|
* See the enclosed file COPYING for license information (GPL). If you
|
|
* did not receive this file, see http://www.horde.org/licenses/gpl.
|
|
*
|
|
* @category Horde
|
|
* @copyright 2010-2017 Horde LLC
|
|
* @license http://www.horde.org/licenses/gpl GPL
|
|
* @package IMP
|
|
* @subpackage UnitTests
|
|
*/
|
|
|
|
/**
|
|
* Test the Quota library.
|
|
*
|
|
* @author Michael Slusarz <slusarz@horde.org>
|
|
* @category Horde
|
|
* @copyright 2010-2016 Horde LLC
|
|
* @ignore
|
|
* @license http://www.horde.org/licenses/gpl GPL
|
|
* @package IMP
|
|
* @subpackage UnitTests
|
|
*/
|
|
class Imp_Unit_QuotaTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
public function testMaildir()
|
|
{
|
|
$quota = new IMP_Quota_Null();
|
|
$data = $quota->getQuota();
|
|
|
|
$this->assertEquals(
|
|
0,
|
|
$data['limit']
|
|
);
|
|
|
|
$this->assertEquals(
|
|
0,
|
|
$data['usage']
|
|
);
|
|
}
|
|
|
|
}
|