예제 #1
0
 public function testGetSetLdap()
 {
     if (!extension_loaded('ldap')) {
         $this->markTestSkipped('LDAP is not enabled');
     }
     $this->_adapter->setLdap(new \Zend\Ldap\Ldap());
     $this->assertInstanceOf('Zend\\Ldap\\Ldap', $this->_adapter->getLdap());
 }
 public function testGetSetLdap()
 {
     if (!extension_loaded('ldap')) {
         $this->markTestSkipped('LDAP is not enabled');
     }
     $this->_adapter->setLdap(new Zend_Ldap());
     $this->assertType('Zend_Ldap', $this->_adapter->getLdap());
 }