{"action":"created","issue":{"url":"https://api.github.com/repos/there4/slim-unit-testing-example/issues/16","labels_url":"https://api.github.com/repos/there4/slim-unit-testing-example/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/there4/slim-unit-testing-example/issues/16/comments","events_url":"https://api.github.com/repos/there4/slim-unit-testing-example/issues/16/events","html_url":"https://github.com/there4/slim-unit-testing-example/pull/16","id":118285381,"number":16,"title":"Added $app->setName('default');","user":{"login":"martinbutt","id":4308112,"avatar_url":"https://avatars.githubusercontent.com/u/4308112?v=3","gravatar_id":"","url":"https://api.github.com/users/martinbutt","html_url":"https://github.com/martinbutt","followers_url":"https://api.github.com/users/martinbutt/followers","following_url":"https://api.github.com/users/martinbutt/following{/other_user}","gists_url":"https://api.github.com/users/martinbutt/gists{/gist_id}","starred_url":"https://api.github.com/users/martinbutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinbutt/subscriptions","organizations_url":"https://api.github.com/users/martinbutt/orgs","repos_url":"https://api.github.com/users/martinbutt/repos","events_url":"https://api.github.com/users/martinbutt/events{/privacy}","received_events_url":"https://api.github.com/users/martinbutt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-22T20:11:28Z","updated_at":"2015-11-25T00:34:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/there4/slim-unit-testing-example/pulls/16","html_url":"https://github.com/there4/slim-unit-testing-example/pull/16","diff_url":"https://github.com/there4/slim-unit-testing-example/pull/16.diff","patch_url":"https://github.com/there4/slim-unit-testing-example/pull/16.patch"},"body":"I ran into a problem today using a custom view that calls \\Slim\\Slim::getInstance();\r\n\r\nThere were a few others with the same issue here:\r\nhttps://disqus.com/home/discussion/there4/unit_testing_slim_php_framework_applications_with_phpunit_26/\r\n\r\nIt just required adding $app->setName('default'); to LocalWebTestCase.\r\n\r\nIt looks like this was already added to WebTestCase::getSlimInstance(), but was not in the example code that overrides that."},"comment":{"url":"https://api.github.com/repos/there4/slim-unit-testing-example/issues/comments/159448134","html_url":"https://github.com/there4/slim-unit-testing-example/pull/16#issuecomment-159448134","issue_url":"https://api.github.com/repos/there4/slim-unit-testing-example/issues/16","id":159448134,"user":{"login":"craig-davis","id":9907304,"avatar_url":"https://avatars.githubusercontent.com/u/9907304?v=3","gravatar_id":"","url":"https://api.github.com/users/craig-davis","html_url":"https://github.com/craig-davis","followers_url":"https://api.github.com/users/craig-davis/followers","following_url":"https://api.github.com/users/craig-davis/following{/other_user}","gists_url":"https://api.github.com/users/craig-davis/gists{/gist_id}","starred_url":"https://api.github.com/users/craig-davis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craig-davis/subscriptions","organizations_url":"https://api.github.com/users/craig-davis/orgs","repos_url":"https://api.github.com/users/craig-davis/repos","events_url":"https://api.github.com/users/craig-davis/events{/privacy}","received_events_url":"https://api.github.com/users/craig-davis/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T00:34:05Z","updated_at":"2015-11-25T00:34:05Z","body":":+1:  @felixmaier1989 Want to pull this one in for us all?"}}