{"action":"created","comment":{"url":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/comments/57715060","id":57715060,"diff_hunk":"@@ -0,0 +1,81 @@\n+<?php\n+namespace Tests\\AppBundle\\Controller;\n+\n+use Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase;\n+\n+class RegisterControllerTest extends WebTestCase\n+{\n+    public function testRegisterNoUsername()\n+    {\n+        $client = static::createClient();\n+\n+        $crawler = $client->request('GET', '/register');\n+        $response = $client->getResponse();\n+\n+        $form = $crawler->selectButton('register-button')->form();\n+\n+        $crawler = $client->submit($form);\n+        $this->assertEquals(500, $client->getResponse()->getStatusCode());\n+        $this->assertRegexp(","path":"Symfony/tests/AppBundle/Controller/RegisterControllerTest.php","position":null,"original_position":19,"commit_id":"f2ad9c3f99094be039ba6b25c66322b81afee60d","original_commit_id":"1ff1ae3b0179d212e46eee3f2aa7c4bfa58ce8a1","user":{"login":"alexyaoyang","id":4772843,"avatar_url":"https://avatars.githubusercontent.com/u/4772843?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyaoyang","html_url":"https://github.com/alexyaoyang","followers_url":"https://api.github.com/users/alexyaoyang/followers","following_url":"https://api.github.com/users/alexyaoyang/following{/other_user}","gists_url":"https://api.github.com/users/alexyaoyang/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyaoyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyaoyang/subscriptions","organizations_url":"https://api.github.com/users/alexyaoyang/orgs","repos_url":"https://api.github.com/users/alexyaoyang/repos","events_url":"https://api.github.com/users/alexyaoyang/events{/privacy}","received_events_url":"https://api.github.com/users/alexyaoyang/received_events","type":"User","site_admin":false},"body":"Good point, edited in latest commit to use assertContain instead!","created_at":"2016-03-29T12:34:16Z","updated_at":"2016-03-29T12:34:16Z","html_url":"https://github.com/codebendercc/Neuralyzer/pull/28#discussion_r57715060","pull_request_url":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/comments/57715060"},"html":{"href":"https://github.com/codebendercc/Neuralyzer/pull/28#discussion_r57715060"},"pull_request":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28","id":64272026,"html_url":"https://github.com/codebendercc/Neuralyzer/pull/28","diff_url":"https://github.com/codebendercc/Neuralyzer/pull/28.diff","patch_url":"https://github.com/codebendercc/Neuralyzer/pull/28.patch","issue_url":"https://api.github.com/repos/codebendercc/Neuralyzer/issues/28","number":28,"state":"open","locked":false,"title":"Login register page","user":{"login":"alexyaoyang","id":4772843,"avatar_url":"https://avatars.githubusercontent.com/u/4772843?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyaoyang","html_url":"https://github.com/alexyaoyang","followers_url":"https://api.github.com/users/alexyaoyang/followers","following_url":"https://api.github.com/users/alexyaoyang/following{/other_user}","gists_url":"https://api.github.com/users/alexyaoyang/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyaoyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyaoyang/subscriptions","organizations_url":"https://api.github.com/users/alexyaoyang/orgs","repos_url":"https://api.github.com/users/alexyaoyang/repos","events_url":"https://api.github.com/users/alexyaoyang/events{/privacy}","received_events_url":"https://api.github.com/users/alexyaoyang/received_events","type":"User","site_admin":false},"body":"## Changes\r\n* Created login page and register page\r\n* Added functional test for register\r\n* User input validation during registration\r\n* Change port forward to fix symfony redirect pages error\r\n\r\n@spiliot Since this branch was created in an attempt to be independent of other branches (as per your instruction), the first few commits are all merges from other branches. Commits for login & register page starts from \"Login page commit\" - 12de672 onwards.\r\n\r\nReady for review, thanks!","created_at":"2016-03-27T18:27:49Z","updated_at":"2016-03-29T12:34:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e946abb63f1e06e47889ca90085c694661e3b1bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28/commits","review_comments_url":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28/comments","review_comment_url":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codebendercc/Neuralyzer/issues/28/comments","statuses_url":"https://api.github.com/repos/codebendercc/Neuralyzer/statuses/f2ad9c3f99094be039ba6b25c66322b81afee60d","head":{"label":"alexyaoyang:login-register-page","ref":"login-register-page","sha":"f2ad9c3f99094be039ba6b25c66322b81afee60d","user":{"login":"alexyaoyang","id":4772843,"avatar_url":"https://avatars.githubusercontent.com/u/4772843?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyaoyang","html_url":"https://github.com/alexyaoyang","followers_url":"https://api.github.com/users/alexyaoyang/followers","following_url":"https://api.github.com/users/alexyaoyang/following{/other_user}","gists_url":"https://api.github.com/users/alexyaoyang/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyaoyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyaoyang/subscriptions","organizations_url":"https://api.github.com/users/alexyaoyang/orgs","repos_url":"https://api.github.com/users/alexyaoyang/repos","events_url":"https://api.github.com/users/alexyaoyang/events{/privacy}","received_events_url":"https://api.github.com/users/alexyaoyang/received_events","type":"User","site_admin":false},"repo":{"id":52087591,"name":"Neuralyzer","full_name":"alexyaoyang/Neuralyzer","owner":{"login":"alexyaoyang","id":4772843,"avatar_url":"https://avatars.githubusercontent.com/u/4772843?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyaoyang","html_url":"https://github.com/alexyaoyang","followers_url":"https://api.github.com/users/alexyaoyang/followers","following_url":"https://api.github.com/users/alexyaoyang/following{/other_user}","gists_url":"https://api.github.com/users/alexyaoyang/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyaoyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyaoyang/subscriptions","organizations_url":"https://api.github.com/users/alexyaoyang/orgs","repos_url":"https://api.github.com/users/alexyaoyang/repos","events_url":"https://api.github.com/users/alexyaoyang/events{/privacy}","received_events_url":"https://api.github.com/users/alexyaoyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexyaoyang/Neuralyzer","description":"","fork":true,"url":"https://api.github.com/repos/alexyaoyang/Neuralyzer","forks_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/forks","keys_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/teams","hooks_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/hooks","issue_events_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/issues/events{/number}","events_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/events","assignees_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/assignees{/user}","branches_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/branches{/branch}","tags_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/tags","blobs_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/statuses/{sha}","languages_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/languages","stargazers_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/stargazers","contributors_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/contributors","subscribers_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/subscribers","subscription_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/subscription","commits_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/contents/{+path}","compare_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/merges","archive_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/downloads","issues_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/issues{/number}","pulls_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/pulls{/number}","milestones_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/milestones{/number}","notifications_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/labels{/name}","releases_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/releases{/id}","deployments_url":"https://api.github.com/repos/alexyaoyang/Neuralyzer/deployments","created_at":"2016-02-19T12:55:07Z","updated_at":"2016-02-19T12:55:08Z","pushed_at":"2016-03-29T12:32:00Z","git_url":"git://github.com/alexyaoyang/Neuralyzer.git","ssh_url":"git@github.com:alexyaoyang/Neuralyzer.git","clone_url":"https://github.com/alexyaoyang/Neuralyzer.git","svn_url":"https://github.com/alexyaoyang/Neuralyzer","homepage":null,"size":841,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codebendercc:login-register-page","ref":"login-register-page","sha":"7b0e4e0d0a6fb162190c0fd392499c53b176b1ad","user":{"login":"codebendercc","id":1754900,"avatar_url":"https://avatars.githubusercontent.com/u/1754900?v=3","gravatar_id":"","url":"https://api.github.com/users/codebendercc","html_url":"https://github.com/codebendercc","followers_url":"https://api.github.com/users/codebendercc/followers","following_url":"https://api.github.com/users/codebendercc/following{/other_user}","gists_url":"https://api.github.com/users/codebendercc/gists{/gist_id}","starred_url":"https://api.github.com/users/codebendercc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebendercc/subscriptions","organizations_url":"https://api.github.com/users/codebendercc/orgs","repos_url":"https://api.github.com/users/codebendercc/repos","events_url":"https://api.github.com/users/codebendercc/events{/privacy}","received_events_url":"https://api.github.com/users/codebendercc/received_events","type":"Organization","site_admin":false},"repo":{"id":37429949,"name":"Neuralyzer","full_name":"codebendercc/Neuralyzer","owner":{"login":"codebendercc","id":1754900,"avatar_url":"https://avatars.githubusercontent.com/u/1754900?v=3","gravatar_id":"","url":"https://api.github.com/users/codebendercc","html_url":"https://github.com/codebendercc","followers_url":"https://api.github.com/users/codebendercc/followers","following_url":"https://api.github.com/users/codebendercc/following{/other_user}","gists_url":"https://api.github.com/users/codebendercc/gists{/gist_id}","starred_url":"https://api.github.com/users/codebendercc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebendercc/subscriptions","organizations_url":"https://api.github.com/users/codebendercc/orgs","repos_url":"https://api.github.com/users/codebendercc/repos","events_url":"https://api.github.com/users/codebendercc/events{/privacy}","received_events_url":"https://api.github.com/users/codebendercc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codebendercc/Neuralyzer","description":"","fork":false,"url":"https://api.github.com/repos/codebendercc/Neuralyzer","forks_url":"https://api.github.com/repos/codebendercc/Neuralyzer/forks","keys_url":"https://api.github.com/repos/codebendercc/Neuralyzer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codebendercc/Neuralyzer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codebendercc/Neuralyzer/teams","hooks_url":"https://api.github.com/repos/codebendercc/Neuralyzer/hooks","issue_events_url":"https://api.github.com/repos/codebendercc/Neuralyzer/issues/events{/number}","events_url":"https://api.github.com/repos/codebendercc/Neuralyzer/events","assignees_url":"https://api.github.com/repos/codebendercc/Neuralyzer/assignees{/user}","branches_url":"https://api.github.com/repos/codebendercc/Neuralyzer/branches{/branch}","tags_url":"https://api.github.com/repos/codebendercc/Neuralyzer/tags","blobs_url":"https://api.github.com/repos/codebendercc/Neuralyzer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codebendercc/Neuralyzer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codebendercc/Neuralyzer/git/refs{/sha}","trees_url":"https://api.github.com/repos/codebendercc/Neuralyzer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codebendercc/Neuralyzer/statuses/{sha}","languages_url":"https://api.github.com/repos/codebendercc/Neuralyzer/languages","stargazers_url":"https://api.github.com/repos/codebendercc/Neuralyzer/stargazers","contributors_url":"https://api.github.com/repos/codebendercc/Neuralyzer/contributors","subscribers_url":"https://api.github.com/repos/codebendercc/Neuralyzer/subscribers","subscription_url":"https://api.github.com/repos/codebendercc/Neuralyzer/subscription","commits_url":"https://api.github.com/repos/codebendercc/Neuralyzer/commits{/sha}","git_commits_url":"https://api.github.com/repos/codebendercc/Neuralyzer/git/commits{/sha}","comments_url":"https://api.github.com/repos/codebendercc/Neuralyzer/comments{/number}","issue_comment_url":"https://api.github.com/repos/codebendercc/Neuralyzer/issues/comments{/number}","contents_url":"https://api.github.com/repos/codebendercc/Neuralyzer/contents/{+path}","compare_url":"https://api.github.com/repos/codebendercc/Neuralyzer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codebendercc/Neuralyzer/merges","archive_url":"https://api.github.com/repos/codebendercc/Neuralyzer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codebendercc/Neuralyzer/downloads","issues_url":"https://api.github.com/repos/codebendercc/Neuralyzer/issues{/number}","pulls_url":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls{/number}","milestones_url":"https://api.github.com/repos/codebendercc/Neuralyzer/milestones{/number}","notifications_url":"https://api.github.com/repos/codebendercc/Neuralyzer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codebendercc/Neuralyzer/labels{/name}","releases_url":"https://api.github.com/repos/codebendercc/Neuralyzer/releases{/id}","deployments_url":"https://api.github.com/repos/codebendercc/Neuralyzer/deployments","created_at":"2015-06-14T21:18:16Z","updated_at":"2016-01-30T05:32:56Z","pushed_at":"2016-03-29T12:32:00Z","git_url":"git://github.com/codebendercc/Neuralyzer.git","ssh_url":"git@github.com:codebendercc/Neuralyzer.git","clone_url":"https://github.com/codebendercc/Neuralyzer.git","svn_url":"https://github.com/codebendercc/Neuralyzer","homepage":null,"size":662,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28"},"html":{"href":"https://github.com/codebendercc/Neuralyzer/pull/28"},"issue":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/issues/28"},"comments":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/codebendercc/Neuralyzer/statuses/f2ad9c3f99094be039ba6b25c66322b81afee60d"}}}}