Browse Source

[GENERIC] Zend_File/Zend_Validate:

- fixed fileinfo extension for PHP 5.3
  (unittest fix)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17199 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
8c1e7daa4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Zend/File/Transfer/Adapter/AbstractTest.php

+ 1 - 1
tests/Zend/File/Transfer/Adapter/AbstractTest.php

@@ -710,7 +710,7 @@ class Zend_File_Transfer_Adapter_AbstractTest extends PHPUnit_Framework_TestCase
 
     public function testMimeTypeByTmpName()
     {
-        $this->assertRegexp('text/plain', $this->adapter->getMimeType('baz.text'));
+        $this->assertEquals('text/plain', $this->adapter->getMimeType('baz.text'));
     }
 
     public function testSetOwnErrorMessage()