Jelajahi Sumber

fixed unit test to match correctec behavior

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22161 44c647ce-9c0f-0410-b52a-842ac1e357ba
sgehrig 15 tahun lalu
induk
melakukan
4fe0ae32b6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      tests/Zend/Ldap/AttributeTest.php

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

@@ -307,7 +307,7 @@ class Zend_Ldap_AttributeTest extends PHPUnit_Framework_TestCase
     {
     {
         $data=array('ts' => array('dummy'));
         $data=array('ts' => array('dummy'));
         $retTs=Zend_Ldap_Attribute::getDateTimeAttribute($data, 'ts', 0);
         $retTs=Zend_Ldap_Attribute::getDateTimeAttribute($data, 'ts', 0);
-        $this->assertNull($retTs);
+        $this->assertEquals('dummy', $retTs);
     }
     }
 
 
     public function testGetDateTimeValueNegativeOffet()
     public function testGetDateTimeValueNegativeOffet()