+++ /dev/null
-<?php
-/**
- * Test the valid check with the Kolab session handler implementation.
- *
- * PHP version 5
- *
- * @category Kolab
- * @package Kolab_Session
- * @author Gunnar Wrobel <wrobel@pardus.de>
- * @license http://www.fsf.org/copyleft/lgpl.html LGPL
- * @link http://pear.horde.org/index.php?package=Kolab_Session
- */
-
-/**
- * Prepare the test setup.
- */
-require_once dirname(__FILE__) . '/../Autoload.php';
-
-/**
- * Test the valid check with the Kolab session handler implementation.
- *
- * Copyright 2009-2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (LGPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
- *
- * @category Kolab
- * @package Kolab_Session
- * @author Gunnar Wrobel <wrobel@pardus.de>
- * @license http://www.fsf.org/copyleft/lgpl.html LGPL
- * @link http://pear.horde.org/index.php?package=Kolab_Session
- */
-class Horde_Kolab_Session_Integration_SessionTest extends Horde_Kolab_Session_TestCase
-{
- public function test()
- {
- }
-}
\ No newline at end of file
*/
class Horde_Kolab_Session_Unit_Storage_SessionTest extends Horde_Kolab_Session_TestCase
{
+ public function setUp()
+ {
+ $_SESSION = array();
+ }
+
+ public function tearDown()
+ {
+ unset($_SESSION['kolab_session']);
+ }
+
public function testLoad()
{
$_SESSION['kolab_session'] = array('data');