{"action":"opened","issue":{"url":"https://api.github.com/repos/zendframework/zend-test/issues/8","labels_url":"https://api.github.com/repos/zendframework/zend-test/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-test/issues/8/comments","events_url":"https://api.github.com/repos/zendframework/zend-test/issues/8/events","html_url":"https://github.com/zendframework/zend-test/issues/8","id":116942549,"number":8,"title":"Needless limitation in assertResponseStatusCode() for console coltrollers","user":{"login":"hschletz","id":1310065,"avatar_url":"https://avatars.githubusercontent.com/u/1310065?v=3","gravatar_id":"","url":"https://api.github.com/users/hschletz","html_url":"https://github.com/hschletz","followers_url":"https://api.github.com/users/hschletz/followers","following_url":"https://api.github.com/users/hschletz/following{/other_user}","gists_url":"https://api.github.com/users/hschletz/gists{/gist_id}","starred_url":"https://api.github.com/users/hschletz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hschletz/subscriptions","organizations_url":"https://api.github.com/users/hschletz/orgs","repos_url":"https://api.github.com/users/hschletz/repos","events_url":"https://api.github.com/users/hschletz/events{/privacy}","received_events_url":"https://api.github.com/users/hschletz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-14T18:07:44Z","updated_at":"2015-11-14T18:07:44Z","closed_at":null,"body":"assertResponseStatusCode() and assertNotResponseStatusCode throw an exception for console controller tests if the argument is not 0 or 1.\r\n\r\nI don't see a reason for this limitation. Exit codes can have a broad range of values, and it's common practice to report specific error conditions. A ZF console application works fine with arbitrary exit codes. There are platform-specific limitations, but these are outside the scope of the test routine.\r\n"}}