Nag_TestCase::createKolabShares PHP Method

createKolabShares() protected static method

protected static createKolabShares ( Horde_Test_Setup $setup )
$setup Horde_Test_Setup
    protected static function createKolabShares(Horde_Test_Setup $setup)
    {
        $setup->setup(array('Horde_Kolab_Storage' => array('factory' => 'KolabStorage', 'params' => array('imapuser' => 'test')), 'Horde_Share_Base' => array('factory' => 'Share', 'method' => 'Kolab')));
        $setup->makeGlobal(array('nag_shares' => 'Horde_Share_Base'));
        $GLOBALS['conf']['storage']['driver'] = 'kolab';
        $GLOBALS['conf']['tasklists']['driver'] = 'kolab';
    }