1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<?php
/**
* @author Ralf Lang <lang@ralf-lang.de>
* @category Horde
* @copyright 2013 Horde LLC
* @internal
* @license http://www.horde.org/licenses/gpl GPL
* @package Passwd
* @subpackage UnitTests
*/
class Passwd_TestCase extends PHPUnit_Framework_TestCase
{
protected function getInjector()
{
return new Horde_Injector(new Horde_Injector_TopLevel());
}
static protected function createBasicPasswdSetup(Horde_Test_Setup $setup)
{
$setup->setup(
array(
'_PARAMS' => array(
'user' => 'test@example.com',
'app' => 'passwd'
),
'Horde_Registry' => 'Registry',
)
);
$setup->makeGlobal(
array(
'registry' => 'Horde_Registry',
)
);
}
}
|