Переглянути джерело

Test in Zend_Ldap_AttributeTest fixed

Frank 12 роки тому
батько
коміт
712513eadc
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tests/Zend/Ldap/AttributeTest.php

+ 1 - 1
tests/Zend/Ldap/AttributeTest.php

@@ -93,7 +93,7 @@ class Zend_Ldap_AttributeTest extends PHPUnit_Framework_TestCase
     {
         $data=array('uid' => array('value'));
         $value=Zend_Ldap_Attribute::getAttribute($data, 'uid');
-        $this->assertTrue(is_array());
+        $this->assertTrue(is_array($value));
         $this->assertEquals(1, count($value));
         $this->assertContains('value', $value);
     }