{"action":"closed","issue":{"url":"https://api.github.com/repos/dingo/api/issues/629","labels_url":"https://api.github.com/repos/dingo/api/issues/629/labels{/name}","comments_url":"https://api.github.com/repos/dingo/api/issues/629/comments","events_url":"https://api.github.com/repos/dingo/api/issues/629/events","html_url":"https://github.com/dingo/api/issues/629","id":104733271,"number":629,"title":"PHPunit Test","user":{"login":"lukasoppermann","id":813754,"avatar_url":"https://avatars.githubusercontent.com/u/813754?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasoppermann","html_url":"https://github.com/lukasoppermann","followers_url":"https://api.github.com/users/lukasoppermann/followers","following_url":"https://api.github.com/users/lukasoppermann/following{/other_user}","gists_url":"https://api.github.com/users/lukasoppermann/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasoppermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasoppermann/subscriptions","organizations_url":"https://api.github.com/users/lukasoppermann/orgs","repos_url":"https://api.github.com/users/lukasoppermann/repos","events_url":"https://api.github.com/users/lukasoppermann/events{/privacy}","received_events_url":"https://api.github.com/users/lukasoppermann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-03T16:21:55Z","updated_at":"2015-09-04T00:47:25Z","closed_at":"2015-09-04T00:47:25Z","body":"Hey, \r\n\r\nI did not find an answer in the questions asked before. So should this work with lumen and dingo?\r\n```php\r\n    /**\r\n     * @test\r\n     */\r\n    public function get_something()\r\n    {\r\n        $response = $this->call('GET','/');\r\n        $this->assertEquals(self::HTTP_OK, $response->getStatusCode());\r\n    }\r\n```\r\nWith this in routes:\r\n\r\n```php\r\n$api = app('Dingo\\Api\\Routing\\Router');\r\n\r\n$api->version('v1', function ($api) {\r\n    $api->get('/', function(){\r\n        return 'test';\r\n    });\r\n});\r\n```\r\n\r\nPhpunit says: `Failed asserting that 404 matches expected 200.` But in the browser it works fine. I suspect this is a problem due using a custom router? Can this somehow be done, or do I need to use guzzle?\r\n\r\nJust fyi, this works fine in phpunit:\r\n\r\n```php\r\n$app->get('/test', function () use ($app) {\r\n    return 'test';\r\n});\r\n```\r\n\r\nShould this be known and \"intended\" maybe you could add something to the wiki."}}