/** * @group ZF-9091 */ public function testSetPathInfoShouldNotStripBaseUrlIfBaseUrlNotInRequestUri() { $request = new Request\Http(); $request->setBaseUrl('/app'); $_SERVER['REQUEST_URI'] = '/index/index'; $pathInfo = $request->getPathInfo(); $this->assertEquals('/index/index', $pathInfo); }