{"action":"created","comment":{"url":"https://api.github.com/repos/thori0908/laravel_training/pulls/comments/29122187","id":29122187,"diff_hunk":"@@ -11,9 +11,18 @@ public function createApplication()\n \t{\n \t\t$unitTesting = true;\n \n-\t\t$testEnvironment = 'testing';\n+//\t\t$testEnvironment = 'testing';\n+\t\t$testEnvironment = 'local';","path":"app/tests/TestCase.php","position":6,"original_position":6,"commit_id":"6b4d57b939b8054eb7df0e22e6eb1aa5f508c918","original_commit_id":"6b4d57b939b8054eb7df0e22e6eb1aa5f508c918","user":{"login":"fr-matsuo","id":7111595,"avatar_url":"https://avatars.githubusercontent.com/u/7111595?v=3","gravatar_id":"","url":"https://api.github.com/users/fr-matsuo","html_url":"https://github.com/fr-matsuo","followers_url":"https://api.github.com/users/fr-matsuo/followers","following_url":"https://api.github.com/users/fr-matsuo/following{/other_user}","gists_url":"https://api.github.com/users/fr-matsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/fr-matsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fr-matsuo/subscriptions","organizations_url":"https://api.github.com/users/fr-matsuo/orgs","repos_url":"https://api.github.com/users/fr-matsuo/repos","events_url":"https://api.github.com/users/fr-matsuo/events{/privacy}","received_events_url":"https://api.github.com/users/fr-matsuo/received_events","type":"User","site_admin":false},"body":"http://readouble.com/laravel/4/2/0/ja/testing.html#test-environment\r\nhttp://readouble.com/laravel/4/2/0/ja/configuration.html#environment-configuration\r\n`local`で実行すると、テストでDBに追加したデータが残るなど、他のテストや動作に影響が出ると思うので、\r\n上書きしないようお願いします。","created_at":"2015-04-27T06:02:07Z","updated_at":"2015-04-27T06:02:07Z","html_url":"https://github.com/thori0908/laravel_training/pull/8#discussion_r29122187","pull_request_url":"https://api.github.com/repos/thori0908/laravel_training/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/thori0908/laravel_training/pulls/comments/29122187"},"html":{"href":"https://github.com/thori0908/laravel_training/pull/8#discussion_r29122187"},"pull_request":{"href":"https://api.github.com/repos/thori0908/laravel_training/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/thori0908/laravel_training/pulls/8","id":33935857,"html_url":"https://github.com/thori0908/laravel_training/pull/8","diff_url":"https://github.com/thori0908/laravel_training/pull/8.diff","patch_url":"https://github.com/thori0908/laravel_training/pull/8.patch","issue_url":"https://api.github.com/repos/thori0908/laravel_training/issues/8","number":8,"state":"open","locked":false,"title":"[WIP] 自動ユニットテストの基礎","user":{"login":"thori0908","id":7833726,"avatar_url":"https://avatars.githubusercontent.com/u/7833726?v=3","gravatar_id":"","url":"https://api.github.com/users/thori0908","html_url":"https://github.com/thori0908","followers_url":"https://api.github.com/users/thori0908/followers","following_url":"https://api.github.com/users/thori0908/following{/other_user}","gists_url":"https://api.github.com/users/thori0908/gists{/gist_id}","starred_url":"https://api.github.com/users/thori0908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thori0908/subscriptions","organizations_url":"https://api.github.com/users/thori0908/orgs","repos_url":"https://api.github.com/users/thori0908/repos","events_url":"https://api.github.com/users/thori0908/events{/privacy}","received_events_url":"https://api.github.com/users/thori0908/received_events","type":"User","site_admin":false},"body":"## テスト項目\r\n\r\n#### ページ遷移\r\n- [ ] トップページから入力画面 IndexController::showIndex\r\n- [ ] 入力画面から確認画面 ConfirmController::showConfirm\r\n- [ ] 確認画面から完了画面 CompleteController::showComplete\r\n\r\n#### 確認画面から入力画面から戻ったら入力値がフォームに入っている\r\n- [ ] 確認画面から入力画面へのルーティング InputController::showInput\r\n- [ ] 確認画面に入っている値\r\n - [ ] getFullnameでフルネームになっているか User::getFullname\r\n - [ ] 半角スペース・全角スペースのエスケープ処理 User::escapeFormValue\r\n - [ ] HTMLやSQLを入力された場合のエスケープ処理 User::escapeFormValue\r\n - [ ] その他の詳細記入時に自動的にその他にチェック User::checkHobbyOther\r\n\r\n#### 確認画面に遷移する際にエラーがあった場合、フォーム画面に戻してエラー文言を表示  \r\n- [ ] 確認画面から入力画面へのリダイレクト ConfirmController::showConfirm\r\n- [x] エラーメッセージ表示  ErrMessage::getErrMessage\r\n  - [ ] 姓\r\n  - [ ] 名 \r\n  - [ ] 性別 \r\n  - [ ] 郵便番号\r\n  - [ ] 都道府県\r\n  - [ ] メールアドレス \r\n  - [ ] 趣味：その他 \r\n \r\nhttps://github.com/thori0908/training/issues/47","created_at":"2015-04-23T08:59:13Z","updated_at":"2015-04-27T06:02:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5644defecd23841b1fb4436881977cbed482bb2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thori0908/laravel_training/pulls/8/commits","review_comments_url":"https://api.github.com/repos/thori0908/laravel_training/pulls/8/comments","review_comment_url":"https://api.github.com/repos/thori0908/laravel_training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thori0908/laravel_training/issues/8/comments","statuses_url":"https://api.github.com/repos/thori0908/laravel_training/statuses/6b4d57b939b8054eb7df0e22e6eb1aa5f508c918","head":{"label":"thori0908:feature/issue47","ref":"feature/issue47","sha":"6b4d57b939b8054eb7df0e22e6eb1aa5f508c918","user":{"login":"thori0908","id":7833726,"avatar_url":"https://avatars.githubusercontent.com/u/7833726?v=3","gravatar_id":"","url":"https://api.github.com/users/thori0908","html_url":"https://github.com/thori0908","followers_url":"https://api.github.com/users/thori0908/followers","following_url":"https://api.github.com/users/thori0908/following{/other_user}","gists_url":"https://api.github.com/users/thori0908/gists{/gist_id}","starred_url":"https://api.github.com/users/thori0908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thori0908/subscriptions","organizations_url":"https://api.github.com/users/thori0908/orgs","repos_url":"https://api.github.com/users/thori0908/repos","events_url":"https://api.github.com/users/thori0908/events{/privacy}","received_events_url":"https://api.github.com/users/thori0908/received_events","type":"User","site_admin":false},"repo":{"id":33034818,"name":"laravel_training","full_name":"thori0908/laravel_training","owner":{"login":"thori0908","id":7833726,"avatar_url":"https://avatars.githubusercontent.com/u/7833726?v=3","gravatar_id":"","url":"https://api.github.com/users/thori0908","html_url":"https://github.com/thori0908","followers_url":"https://api.github.com/users/thori0908/followers","following_url":"https://api.github.com/users/thori0908/following{/other_user}","gists_url":"https://api.github.com/users/thori0908/gists{/gist_id}","starred_url":"https://api.github.com/users/thori0908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thori0908/subscriptions","organizations_url":"https://api.github.com/users/thori0908/orgs","repos_url":"https://api.github.com/users/thori0908/repos","events_url":"https://api.github.com/users/thori0908/events{/privacy}","received_events_url":"https://api.github.com/users/thori0908/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thori0908/laravel_training","description":"","fork":false,"url":"https://api.github.com/repos/thori0908/laravel_training","forks_url":"https://api.github.com/repos/thori0908/laravel_training/forks","keys_url":"https://api.github.com/repos/thori0908/laravel_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thori0908/laravel_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thori0908/laravel_training/teams","hooks_url":"https://api.github.com/repos/thori0908/laravel_training/hooks","issue_events_url":"https://api.github.com/repos/thori0908/laravel_training/issues/events{/number}","events_url":"https://api.github.com/repos/thori0908/laravel_training/events","assignees_url":"https://api.github.com/repos/thori0908/laravel_training/assignees{/user}","branches_url":"https://api.github.com/repos/thori0908/laravel_training/branches{/branch}","tags_url":"https://api.github.com/repos/thori0908/laravel_training/tags","blobs_url":"https://api.github.com/repos/thori0908/laravel_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thori0908/laravel_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thori0908/laravel_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/thori0908/laravel_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thori0908/laravel_training/statuses/{sha}","languages_url":"https://api.github.com/repos/thori0908/laravel_training/languages","stargazers_url":"https://api.github.com/repos/thori0908/laravel_training/stargazers","contributors_url":"https://api.github.com/repos/thori0908/laravel_training/contributors","subscribers_url":"https://api.github.com/repos/thori0908/laravel_training/subscribers","subscription_url":"https://api.github.com/repos/thori0908/laravel_training/subscription","commits_url":"https://api.github.com/repos/thori0908/laravel_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/thori0908/laravel_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/thori0908/laravel_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/thori0908/laravel_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/thori0908/laravel_training/contents/{+path}","compare_url":"https://api.github.com/repos/thori0908/laravel_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thori0908/laravel_training/merges","archive_url":"https://api.github.com/repos/thori0908/laravel_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thori0908/laravel_training/downloads","issues_url":"https://api.github.com/repos/thori0908/laravel_training/issues{/number}","pulls_url":"https://api.github.com/repos/thori0908/laravel_training/pulls{/number}","milestones_url":"https://api.github.com/repos/thori0908/laravel_training/milestones{/number}","notifications_url":"https://api.github.com/repos/thori0908/laravel_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thori0908/laravel_training/labels{/name}","releases_url":"https://api.github.com/repos/thori0908/laravel_training/releases{/id}","created_at":"2015-03-28T13:43:24Z","updated_at":"2015-04-23T08:17:45Z","pushed_at":"2015-04-27T04:46:39Z","git_url":"git://github.com/thori0908/laravel_training.git","ssh_url":"git@github.com:thori0908/laravel_training.git","clone_url":"https://github.com/thori0908/laravel_training.git","svn_url":"https://github.com/thori0908/laravel_training","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"thori0908:master","ref":"master","sha":"9be9467484a0a31f383f4e2cfd6aaa6f66712ad7","user":{"login":"thori0908","id":7833726,"avatar_url":"https://avatars.githubusercontent.com/u/7833726?v=3","gravatar_id":"","url":"https://api.github.com/users/thori0908","html_url":"https://github.com/thori0908","followers_url":"https://api.github.com/users/thori0908/followers","following_url":"https://api.github.com/users/thori0908/following{/other_user}","gists_url":"https://api.github.com/users/thori0908/gists{/gist_id}","starred_url":"https://api.github.com/users/thori0908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thori0908/subscriptions","organizations_url":"https://api.github.com/users/thori0908/orgs","repos_url":"https://api.github.com/users/thori0908/repos","events_url":"https://api.github.com/users/thori0908/events{/privacy}","received_events_url":"https://api.github.com/users/thori0908/received_events","type":"User","site_admin":false},"repo":{"id":33034818,"name":"laravel_training","full_name":"thori0908/laravel_training","owner":{"login":"thori0908","id":7833726,"avatar_url":"https://avatars.githubusercontent.com/u/7833726?v=3","gravatar_id":"","url":"https://api.github.com/users/thori0908","html_url":"https://github.com/thori0908","followers_url":"https://api.github.com/users/thori0908/followers","following_url":"https://api.github.com/users/thori0908/following{/other_user}","gists_url":"https://api.github.com/users/thori0908/gists{/gist_id}","starred_url":"https://api.github.com/users/thori0908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thori0908/subscriptions","organizations_url":"https://api.github.com/users/thori0908/orgs","repos_url":"https://api.github.com/users/thori0908/repos","events_url":"https://api.github.com/users/thori0908/events{/privacy}","received_events_url":"https://api.github.com/users/thori0908/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thori0908/laravel_training","description":"","fork":false,"url":"https://api.github.com/repos/thori0908/laravel_training","forks_url":"https://api.github.com/repos/thori0908/laravel_training/forks","keys_url":"https://api.github.com/repos/thori0908/laravel_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thori0908/laravel_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thori0908/laravel_training/teams","hooks_url":"https://api.github.com/repos/thori0908/laravel_training/hooks","issue_events_url":"https://api.github.com/repos/thori0908/laravel_training/issues/events{/number}","events_url":"https://api.github.com/repos/thori0908/laravel_training/events","assignees_url":"https://api.github.com/repos/thori0908/laravel_training/assignees{/user}","branches_url":"https://api.github.com/repos/thori0908/laravel_training/branches{/branch}","tags_url":"https://api.github.com/repos/thori0908/laravel_training/tags","blobs_url":"https://api.github.com/repos/thori0908/laravel_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thori0908/laravel_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thori0908/laravel_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/thori0908/laravel_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thori0908/laravel_training/statuses/{sha}","languages_url":"https://api.github.com/repos/thori0908/laravel_training/languages","stargazers_url":"https://api.github.com/repos/thori0908/laravel_training/stargazers","contributors_url":"https://api.github.com/repos/thori0908/laravel_training/contributors","subscribers_url":"https://api.github.com/repos/thori0908/laravel_training/subscribers","subscription_url":"https://api.github.com/repos/thori0908/laravel_training/subscription","commits_url":"https://api.github.com/repos/thori0908/laravel_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/thori0908/laravel_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/thori0908/laravel_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/thori0908/laravel_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/thori0908/laravel_training/contents/{+path}","compare_url":"https://api.github.com/repos/thori0908/laravel_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thori0908/laravel_training/merges","archive_url":"https://api.github.com/repos/thori0908/laravel_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thori0908/laravel_training/downloads","issues_url":"https://api.github.com/repos/thori0908/laravel_training/issues{/number}","pulls_url":"https://api.github.com/repos/thori0908/laravel_training/pulls{/number}","milestones_url":"https://api.github.com/repos/thori0908/laravel_training/milestones{/number}","notifications_url":"https://api.github.com/repos/thori0908/laravel_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thori0908/laravel_training/labels{/name}","releases_url":"https://api.github.com/repos/thori0908/laravel_training/releases{/id}","created_at":"2015-03-28T13:43:24Z","updated_at":"2015-04-23T08:17:45Z","pushed_at":"2015-04-27T04:46:39Z","git_url":"git://github.com/thori0908/laravel_training.git","ssh_url":"git@github.com:thori0908/laravel_training.git","clone_url":"https://github.com/thori0908/laravel_training.git","svn_url":"https://github.com/thori0908/laravel_training","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thori0908/laravel_training/pulls/8"},"html":{"href":"https://github.com/thori0908/laravel_training/pull/8"},"issue":{"href":"https://api.github.com/repos/thori0908/laravel_training/issues/8"},"comments":{"href":"https://api.github.com/repos/thori0908/laravel_training/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/thori0908/laravel_training/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/thori0908/laravel_training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thori0908/laravel_training/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/thori0908/laravel_training/statuses/6b4d57b939b8054eb7df0e22e6eb1aa5f508c918"}}}}