{"action":"closed","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/2454","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/2454/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/2454/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/2454/events","html_url":"https://github.com/slimphp/Slim/issues/2454","id":330867761,"node_id":"MDU6SXNzdWUzMzA4Njc3NjE=","number":2454,"title":"How can i add query params in test unit?","user":{"login":"mhf-ir","id":1172526,"node_id":"MDQ6VXNlcjExNzI1MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1172526?v=4","gravatar_id":"","url":"https://api.github.com/users/mhf-ir","html_url":"https://github.com/mhf-ir","followers_url":"https://api.github.com/users/mhf-ir/followers","following_url":"https://api.github.com/users/mhf-ir/following{/other_user}","gists_url":"https://api.github.com/users/mhf-ir/gists{/gist_id}","starred_url":"https://api.github.com/users/mhf-ir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhf-ir/subscriptions","organizations_url":"https://api.github.com/users/mhf-ir/orgs","repos_url":"https://api.github.com/users/mhf-ir/repos","events_url":"https://api.github.com/users/mhf-ir/events{/privacy}","received_events_url":"https://api.github.com/users/mhf-ir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-09T08:51:32Z","updated_at":"2018-06-09T10:38:00Z","closed_at":"2018-06-09T10:38:00Z","author_association":"NONE","body":"This will not apply `l` parameters\r\n```php\r\n        $env = Environment::mock([\r\n            'REQUEST_METHOD' => 'GET',\r\n            'REQUEST_URI'    => $swagger['basePath'] . '/jwtcheck',\r\n        ]);\r\n        $req = Request::createFromEnvironment($env);\r\n        $req = $req->withHeader('Authorization', 'Bearer ' . $token);\r\n        $uri = $req->getUri()->withQuery('l=' . $level);\r\n        $req = $req->withUri($uri);\r\n        $slim->getContainer()['request'] = $req;\r\n```"}}
{"actor":{"display_login":"mhf-ir"}}