diff --git a/framework/Prefs/test/Horde/Prefs/Unit/Storage/KolabImapTest.php b/framework/Prefs/test/Horde/Prefs/Unit/Storage/KolabImapTest.php index d71e242a6f1..5b627f15390 100644 --- a/framework/Prefs/test/Horde/Prefs/Unit/Storage/KolabImapTest.php +++ b/framework/Prefs/test/Horde/Prefs/Unit/Storage/KolabImapTest.php @@ -67,7 +67,6 @@ public function testPrefsAccess() public function testCreateFolder() { - $this->markTestIncomplete(); $storage = $this->_createStorage(); $p = new Horde_Prefs( 'test@example.com', @@ -80,7 +79,12 @@ public function testCreateFolder() ); $p['a'] = 'c'; $p->store(); - $this->assertContains('INBOX/Preferences', $storage->getList()->listFolders()); + $this->assertArrayHasKey( + 'INBOX/Preferences', + $storage->getList() + ->getQuery(Horde_Kolab_Storage_List_Tools::QUERY_BASE) + ->listTypes() + ); $p->cleanup(true); }