Просмотр исходного кода

minor test updates

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18894 44c647ce-9c0f-0410-b52a-842ac1e357ba
sgehrig 16 лет назад
Родитель
Сommit
b4e81656c0
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      tests/Zend/Ldap/SearchTest.php

+ 4 - 2
tests/Zend/Ldap/SearchTest.php

@@ -390,7 +390,8 @@ class Zend_Ldap_SearchTest extends Zend_Ldap_OnlineTestCase
     public function testSearchNothingIteration()
     {
         $entries = $this->_getLdap()->search('(objectClass=account)',
-            TESTS_ZEND_LDAP_WRITEABLE_SUBTREE, Zend_Ldap::SEARCH_SCOPE_SUB);
+            TESTS_ZEND_LDAP_WRITEABLE_SUBTREE, Zend_Ldap::SEARCH_SCOPE_SUB,
+            array(), 'uid');
         $this->assertEquals(0, $entries->count());
         $i = 0;
         foreach ($entries as $key => $item) {
@@ -402,7 +403,8 @@ class Zend_Ldap_SearchTest extends Zend_Ldap_OnlineTestCase
     public function testSearchNothingToArray()
     {
         $entries = $this->_getLdap()->search('(objectClass=account)',
-            TESTS_ZEND_LDAP_WRITEABLE_SUBTREE, Zend_Ldap::SEARCH_SCOPE_SUB);
+            TESTS_ZEND_LDAP_WRITEABLE_SUBTREE, Zend_Ldap::SEARCH_SCOPE_SUB,
+            array(), 'uid');
         $entries = $entries->toArray();
         $this->assertEquals(0, count($entries));
         $i = 0;