Hi All,

For testing we use the very handy FrameworkBundle\Client. But in our
case we read JSON-RPC 2.0 data from the HttpFoundation
\Request::getContent method. The BrowserKit\Request used by
FrameworkBundle\Client does not implement this method. So it is
impossible to test a JSON-RPC call (or any other call relying on
getContent).

Why can't we use HttpFoundation\Request also in testing (maybe using a
test subclass to populate fields)? Or is it a good idea to create a
Request and Response interface because bundles rely on these
instances?

--
Martijn Evers

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to