public function testOpenLdapSchemaAttributeTypeAliases() { if ($this->_getLdap()->getRootDse()->getServerType() !== Zend_Ldap_Node_RootDse::SERVER_TYPE_OPENLDAP) { $this->markTestSkipped('Test can only be run on an OpenLDAP server'); } $attributeTypes = $this->_schema->getAttributeTypes(); $this->assertArrayHasKey('cn', $attributeTypes); $this->assertArrayHasKey('commonName', $attributeTypes); $ob1 = $attributeTypes['cn']; $ob2 = $attributeTypes['commonName']; $this->assertSame($ob1, $ob2); }