Skip to content

Commit

Permalink
[ZF-8783] Zend_Form:
Browse files Browse the repository at this point in the history
- fixed unit tests

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20215 44c647ce-9c0f-0410-b52a-842ac1e357ba
  • Loading branch information
thomas committed Jan 12, 2010
1 parent b3ba34d commit ce9ec0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Zend/Form/Element/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ public function testFileSize()
$adapter = new Zend_Form_Element_FileTest_MockAdapter();
$element->setTransferAdapter($adapter);

$this->assertEquals('8B', $element->getFileSize('baz.text'));
$this->assertEquals('1.14kB', $element->getFileSize('baz.text'));
$adapter->setOptions(array('useByteString' => false));
$this->assertEquals(8, $element->getFileSize('baz.text'));
$this->assertEquals(1172, $element->getFileSize('baz.text'));
}

public function testMimeType()
Expand Down

0 comments on commit ce9ec0a

Please sign in to comment.