lithium\tests\cases\action\RequestTest::testRequestUriWithNoHtAccessRedirection PHP Method

testRequestUriWithNoHtAccessRedirection() public method

    public function testRequestUriWithNoHtAccessRedirection()
    {
        $request = new Request(array('env' => array('DOCUMENT_ROOT' => '/www', 'REQUEST_URI' => '/lithium/app/webroot/hello/world?page=1', 'PHP_SELF' => '/lithium/app/webroot/index.php')));
        $this->assertIdentical('/lithium', $request->env('base'));
        $this->assertIdentical('/app/webroot/hello/world', $request->url);
    }
RequestTest