public static function setUpBeforeClass() { parent::setUpBeforeClass(); self::$logger = new Horde_Log_Logger(new Horde_Log_Handler_Cli()); //self::$db->setLogger(self::$logger); self::$dir = __DIR__ . '/../../../../migration/Horde/History'; if (!is_dir(self::$dir)) { error_reporting(E_ALL & ~E_DEPRECATED); self::$dir = PEAR_Config::singleton()->get('data_dir', null, 'pear.horde.org') . '/Horde_History/migration'; error_reporting(E_ALL | E_STRICT); } self::$history = new Horde_History_Sql('test_user', self::$db); }