{
protected static $share;
- public function testGetApp()
+ public function getApp($app)
{
- $this->assertEquals('test', self::$share->getApp());
+ $this->assertEquals($app, self::$share->getApp());
}
public function addShare()
public static function setUpBeforeClass()
{
$group = new Horde_Group_Test();
- self::$share = new Horde_Share_Kolab('test', 'john', new Horde_Perms(), $group);
+ self::$share = new Horde_Share_Kolab('mnemo', 'john', new Horde_Perms(), $group);
}
public function setUp()
{
- if (!class_exists('Horde_Kolab_Storage')) {
+ if (!interface_exists('Horde_Kolab_Storage')) {
$this->markTestSkipped('The Kolab_Storage package seems to be unavailable.');
}
}
-
+ public function testGetApp()
+ {
+ $this->getApp('mnemo');
+ }
}
\ No newline at end of file