zendframework/zf2 — pull request #4089 by austinsmorris (2013-03-21 18:20:11+00:00)
Title: Zend\Test - set the request's requestUri to the dispatched url

When dispatching a url in a controller test (e.g. $this->dispatch('/foo');), the request's uri object's path is set to the dispatched url, but the request's requestUri is not. It is always set to '/'. This causes problems for any module or controller code that looks at the request's requestUri. This pull request fixes this problem.