ZF-4480: testBasic(Zend_Validate_File_IsCompressedTest)

Issue Type: Unit Tests: Problem Created: 2008-10-03T11:24:00.000+0000 Last Updated: 2008-11-13T14:10:16.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Alexander Veremyev (alexander) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments:


{panel} 32) testBasic(Zend_Validate_File_IsCompressedTest) Failed asserting that matches expected value . {panel}


Posted by Thomas Weidner (thomas) on 2008-10-03T13:35:42.000+0000

Why is this component assigned to Wil ??? What is the dev-branch 1.7 ?

I can't find it in SVN... how should I solve this when no branch is available ?

Posted by Thomas Weidner (thomas) on 2008-10-04T03:16:32.000+0000

I can not verify this on my environment.

I increased the faliure output. Can you please verify this on your environment ?

A possible reason is that this test is related to the fileinfo component. And therefor fully depends on the used magic.mime file. Probably the 'zip' mimetype can not be detected by your environment. We will see on the added output where the problem is.

Posted by Alexander Veremyev (alexander) on 2008-10-08T04:06:18.000+0000

Updated output:

{panel} 26) testBasic(Zend_Validate_File_IsCompressedTest) Tested with array ( 0 => NULL, 1 => true, ) Failed asserting that matches expected value . {panel}

Posted by Thomas Weidner (thomas) on 2008-10-10T11:50:05.000+0000

Silly me... I forgot to add the file which is tested against. :-)

Should work now with latest trunk.

Posted by Alexander Veremyev (alexander) on 2008-10-10T12:47:07.000+0000


Also merged fixes into release-1.6 branch.

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:16.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.