fkooman\RemoteStorage\RemoteStorageServiceTest::getGetRequest PHP Method

getGetRequest() private method

private getGetRequest ( $urlPath, array $h = [] )
$h array
    private function getGetRequest($urlPath, array $h = array())
    {
        return new Request(array_merge(array('SERVER_NAME' => 'www.example.org', 'SERVER_PORT' => 80, 'QUERY_STRING' => '', 'REQUEST_URI' => '/index.php' . $urlPath, 'SCRIPT_NAME' => '/index.php', 'HTTP_AUTHORIZATION' => 'Bearer test_token', 'PATH_INFO' => $urlPath, 'REQUEST_METHOD' => 'GET', 'HTTP_ORIGIN' => 'https://foo.bar.example.org'), $h));
    }