{"action":"created","issue":{"url":"https://api.github.com/repos/smstw/windwalker-joomla-rad/issues/78","labels_url":"https://api.github.com/repos/smstw/windwalker-joomla-rad/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/smstw/windwalker-joomla-rad/issues/78/comments","events_url":"https://api.github.com/repos/smstw/windwalker-joomla-rad/issues/78/events","html_url":"https://github.com/smstw/windwalker-joomla-rad/pull/78","id":91731975,"number":78,"title":"[Update #26] Add UriHelperTest","user":{"login":"gundamew","id":2278214,"avatar_url":"https://avatars.githubusercontent.com/u/2278214?v=3","gravatar_id":"","url":"https://api.github.com/users/gundamew","html_url":"https://github.com/gundamew","followers_url":"https://api.github.com/users/gundamew/followers","following_url":"https://api.github.com/users/gundamew/following{/other_user}","gists_url":"https://api.github.com/users/gundamew/gists{/gist_id}","starred_url":"https://api.github.com/users/gundamew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundamew/subscriptions","organizations_url":"https://api.github.com/users/gundamew/orgs","repos_url":"https://api.github.com/users/gundamew/repos","events_url":"https://api.github.com/users/gundamew/events{/privacy}","received_events_url":"https://api.github.com/users/gundamew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-29T08:08:53Z","updated_at":"2015-07-22T03:13:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/smstw/windwalker-joomla-rad/pulls/78","html_url":"https://github.com/smstw/windwalker-joomla-rad/pull/78","diff_url":"https://github.com/smstw/windwalker-joomla-rad/pull/78.diff","patch_url":"https://github.com/smstw/windwalker-joomla-rad/pull/78.patch"},"body":"For #26 \r\n\r\n有二個 method 我跳過了：\r\n\r\n1. `UriHelper::isHome` 沒有參數可以控制，在 CLI 底下跑永遠都只會得到 false\r\n2. `UriHelper::download` 裡面有 `flush` 和 `\\JUri` 與 `\\Windwalker\\DI\\Container`，這我實在不知道該怎麼用 PHPUnit 去測\r\n"},"comment":{"url":"https://api.github.com/repos/smstw/windwalker-joomla-rad/issues/comments/123550312","html_url":"https://github.com/smstw/windwalker-joomla-rad/pull/78#issuecomment-123550312","issue_url":"https://api.github.com/repos/smstw/windwalker-joomla-rad/issues/78","id":123550312,"user":{"login":"gundamew","id":2278214,"avatar_url":"https://avatars.githubusercontent.com/u/2278214?v=3","gravatar_id":"","url":"https://api.github.com/users/gundamew","html_url":"https://github.com/gundamew","followers_url":"https://api.github.com/users/gundamew/followers","following_url":"https://api.github.com/users/gundamew/following{/other_user}","gists_url":"https://api.github.com/users/gundamew/gists{/gist_id}","starred_url":"https://api.github.com/users/gundamew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundamew/subscriptions","organizations_url":"https://api.github.com/users/gundamew/orgs","repos_url":"https://api.github.com/users/gundamew/repos","events_url":"https://api.github.com/users/gundamew/events{/privacy}","received_events_url":"https://api.github.com/users/gundamew/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T03:13:42Z","updated_at":"2015-07-22T03:13:42Z","body":"在 Travis CI 上抓到的 URL 是像 `http://rad.windwalker.io/home/travis/.phpenv/versions/5.4/bin/bloom.html` 這樣的內容，但是在開發環境上預期的 URL 是 `http://php.localhost/flower/sakura/bloom.html`，所以測試會失敗\r\n\r\n改用 `$_SERVER` 看看"}}