This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnldap/tests/classes/LDAPSchema.php
2014-02-11 16:53:37 +11:00

25 lines
651 B
PHP

<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This should test all our connection methods to the LDAP server
* and return success and failures.
*
* @package Kohana/LDAP
* @category Test
* @author Deon George
* @copyright (c) 2013 phpLDAPadmin Development Team
* @license http://dev.phpldapadmin.org/license.html
* @group ldap
* @group ldap.server
*/
Class LDAPSchema extends Unittest_TestCase {
/**
*/
function testSchemaAccess() {
$x = LDAP::factory('default');
$x->bind('bart','eatmyshorts');
$this->assertTrue(LDAP::factory('schema')->schema() instanceof Model_LDAP_Schema);
}
}