fkooman\RemoteStorage\RemoteStorageServiceTest::getPutRequest PHP Method

getPutRequest() private method

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