Always search in ZF's own unit testing first:

http://framework.zend.com/svn/framework/standard/trunk/tests/Zend/File/Transfer/Adapter/HttpTest.php

Zend_File_Transfer_Adapter_HttpTest_MockAdapter class is to the end of the file.



On Mon, Sep 12, 2011 at 12:16 PM, stephanfx <[email protected]>wrote:

> Hi,
>
> I have tried to get this to work, but i cant seem to get it to work. Im
> relatively new to the framework so how do i attach a different adapter to a
> form element that is instantiated in the controller through the test case?
>
> Has anyone succesfully tested the file upload via a controller test? if so,
> is there a public example?
>
> Thanks in advance :)
>
> Stephan Grobler
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/How-to-simulate-a-file-upload-to-test-form-tp653154p3806865.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
>
>
>

Reply via email to