LDAP: adjust test after refactoring

This commit is contained in:
Arthur Schiwon 2012-07-25 12:54:56 +02:00
parent b10f7aafb7
commit a6c5309e16
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ class Test_Group_Ldap extends UnitTestCase {
}
function testSingleBackend(){
OC_Group::useBackend(new OC_GROUP_LDAP());
$group_ldap = new OC_GROUP_LDAP();
OC_Group::useBackend(new OCA\user_ldap\GROUP_LDAP());
$group_ldap = new OCA\user_ldap\GROUP_LDAP();
$this->assertIsA(OC_Group::getGroups(),gettype(array()));
$this->assertIsA($group_ldap->getGroups(),gettype(array()));