This may just be a problem with the tests not the actual framework,
you need to enable the stream handler, therefore maybe the tests don't
enable it, they may have been created before the stream handler.

Quick and easy solution would be to enable short tags in the
TestConfiguration or TestHelper :)

2009/3/3 Ian Young <[email protected]>:
> Hi all,
>
> I'm quite new to Zend, so please excuse me if I'm missing something
> obvious here. We're setting up ZF at my company and decided to get all
> the included Zend unit tests running.  Some of the unit tests use files
> with PHP short tags, which we discovered because our server has short
> tags turned off and the tests cases are failing with messages like:
>
>  1)
> testCorrectViewHelperPathShouldBePropagatedWhenSubControllerInvoked(Zend_Controller_Action_Helper_ViewRendererTest)
>  Received <?= $this->fooUseHelper() ?>
>  Failed asserting that <text> contains "fooUseHelper invoked".
>
> There are two tickets [1][2] in the tracker that suggest this should be
> handled by a stream processor when short tags are disabled, but it
> doesn't seem to be happening within the test suite.
>
> Is this a bug, or do we have something set up wrong?
>
> Thanks,
> Ian
>
>
> [1] http://framework.zend.com/issues/browse/ZF-3686
> [2] http://framework.zend.com/issues/browse/ZF-2833
>
>



-- 
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------

Reply via email to