Преглед изворни кода

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);
     }