getEntry() is throwing Horde_Exception_NotFound now.
authorJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 22:35:03 +0000 (00:35 +0200)
committerJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 22:38:05 +0000 (00:38 +0200)
framework/Ldap/test/Horde/Ldap/LdapTest.php

index 293083b..f0639d9 100644 (file)
@@ -417,7 +417,7 @@ class Horde_Ldap_LdapTest extends Horde_Ldap_TestBase
         try {
             $ldap->getEntry('cn=notexistent,' . self::$ldapcfg['server']['basedn']);
             $this->fail('Horde_Ldap_Exception expected.');
-        } catch (Horde_Ldap_Exception $e) {}
+        } catch (Horde_Exception_NotFound $e) {}
     }
 
     /**