Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
4fe0ae32b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'));
         $retTs=Zend_Ldap_Attribute::getDateTimeAttribute($data, 'ts', 0);
-        $this->assertNull($retTs);
+        $this->assertEquals('dummy', $retTs);
     }
 
     public function testGetDateTimeValueNegativeOffet()