{"action":"created","comment":{"url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/comments/141232796","pull_request_review_id":65414702,"id":141232796,"diff_hunk":"@@ -0,0 +1,212 @@\n+<?php\n+\n+namespace Tests\\Browser\\Pages\\Frontend\\RatingComments;\n+\n+use Tests\\DuskTestCase;\n+use Laravel\\Dusk\\Browser;\n+use Illuminate\\Foundation\\Testing\\DatabaseMigrations;\n+use App\\Model\\Place;\n+use App\\Model\\Hotel;\n+use App\\Model\\User;\n+use App\\Model\\RatingComment;\n+\n+class UserUpdateRatingComment  extends DuskTestCase\n+{\n+    use DatabaseMigrations;\n+    /**\n+     * Test see exactly information.\n+     *\n+     * @return void\n+     */\n+    public function testUpdateRatingComment()\n+    {\n+        $this->makeData();\n+        $this->makeUser();\n+        $this->makeComment(1, 1);\n+        $hotel = Hotel::find(1);\n+        $user = User::find(1);\n+        $comment = RatingComment::find(1);\n+        $this->browse(function (Browser $browser) use ($hotel, $user, $comment) {\n+            $browser->logout();\n+            $browser->loginAs($user)\n+                ->visit('/hotels/' . $hotel->slug)\n+                ->assertSeeIn('.cls-contain-comment h3', 'Comment ( 1 )')\n+                ->assertSeeIn('.cls-contain-comment .col-md-12.comment-old .cls-username-comment', $user->username)\n+                ->press('.cls-contain-comment .col-md-12.comment-old a')\n+                ->assertSee('Do you want to update comment?')\n+                ->assertInputValue('total_rating', $comment->total_rating)\n+                ->assertInputValue('comment', $comment->comment);\n+        });\n+    }\n+\n+    /**\n+     * Test Edit News Success.\n+     *\n+     * @return void\n+     */\n+    public function testUpdateRatingCommentSuccess()\n+    {\n+        $this->makeData();\n+        $this->makeUser();\n+        $this->makeComment(1, 1);\n+        $hotel = Hotel::find(1);\n+        $user = User::find(1);\n+        $comment = RatingComment::find(1);\n+        $this->browse(function (Browser $browser) use ($hotel, $user, $comment) {\n+            $browser->logout();\n+            $browser->loginAs($user)\n+                ->visit('/hotels/' . $hotel->slug)\n+                ->assertSeeIn('.cls-contain-comment h3', 'Comment ( 1 )')\n+                ->assertSeeIn('.cls-contain-comment .col-md-12.comment-old .cls-username-comment', $user->username)\n+                ->press('.cls-contain-comment .col-md-12.comment-old a')\n+                ->assertSee('Do you want to update comment?')\n+                ->type('comment', 'This is good hotels for me!')\n+                ->press('SUBMIT')\n+                ->assertSee('You was edit comment successfully !')\n+                ->assertPathIs('/hotels/' . $hotel->slug);\n+        });\n+        $this->assertDatabaseHas('rating_comments', [\n+                'comment' => 'This is good hotels for me!',\n+                'total_rating' => $comment->total_rating,\n+                'user_id' => $user->id,\n+                'hotel_id' => $hotel->id\n+            ]);\n+    }\n+\n+    /**\n+     * Test Buton Cancel Update.\n+     *\n+     * @return void\n+     */\n+    public function testBtnCancel()\n+    {\n+        $this->makeData();\n+        $this->makeUser();\n+        $this->makeComment(1, 1);\n+        $hotel = Hotel::find(1);\n+        $user = User::find(1);\n+        $comment = RatingComment::find(1);\n+        $this->browse(function (Browser $browser) use ($hotel, $user, $comment) {\n+            $browser->logout();\n+            $browser->loginAs($user)\n+                ->visit('/hotels/' . $hotel->slug)\n+                ->assertSeeIn('.cls-contain-comment h3', 'Comment ( 1 )')\n+                ->assertSeeIn('.cls-contain-comment .col-md-12.comment-old .cls-username-comment', $user->username)\n+                ->press('.cls-contain-comment .col-md-12.comment-old a')\n+                ->assertSee('Do you want to update comment?')\n+                ->assertInputValue('total_rating', $comment->total_rating)\n+                ->assertInputValue('comment', $comment->comment)\n+                ->clickLink('Cancel')\n+                ->assertInputValue('total_rating', 5)\n+                ->assertInputValue('comment', '')\n+                ->assertPathIs('/hotels/' . $hotel->slug);\n+        });\n+    }\n+\n+    /**\n+     * Test Validation update rating comment.\n+     *\n+     * @return void\n+     */\n+    public function testValidationUpdateRatingComment()\n+    {\n+        $this->makeData();\n+        $this->makeUser();\n+        $this->makeComment(1, 1);\n+        $hotel = Hotel::find(1);\n+        $user = User::find(1);\n+        $comment = RatingComment::find(1);\n+        $this->browse(function (Browser $browser) use ($hotel, $user, $comment) {\n+            $browser->logout();\n+            $browser->loginAs($user)\n+                ->visit('/hotels/' . $hotel->slug)\n+                ->assertSeeIn('.cls-contain-comment h3', 'Comment ( 1 )')\n+                ->assertSeeIn('.cls-contain-comment .col-md-12.comment-old .cls-username-comment', $user->username)\n+                ->press('.cls-contain-comment .col-md-12.comment-old a')\n+                ->assertSee('Do you want to update comment?')\n+                ->type('comment', '')\n+                ->press('SUBMIT')\n+                ->assertSee('The comment field is required.')\n+                ->assertPathIs('/hotels/' . $hotel->slug);\n+        });\n+    }\n+\n+    /**\n+     * Test Error 404 Page.\n+     *\n+     * @return void\n+     */\n+    public function testNotFoundComment()\n+    {\n+        $this->makeData();\n+        $this->makeUser();\n+        $this->makeComment(1, 1);\n+        $hotel = Hotel::find(1);\n+        $user = User::find(1);\n+        $comment = RatingComment::find(1);\n+        $this->browse(function (Browser $browser) use ($hotel, $user, $comment) {\n+            $browser->logout();\n+            $browser->loginAs($user)\n+                ->visit('/hotels/' . $hotel->slug)\n+                ->assertSeeIn('.cls-contain-comment h3', 'Comment ( 1 )')\n+                ->assertSeeIn('.cls-contain-comment .col-md-12.comment-old .cls-username-comment', $user->username);\n+            $comment->delete();\n+            $this->assertSoftDeleted('rating_comments', ['id'=>'1']);\n+            $browser->press('.cls-contain-comment .col-md-12.comment-old a')\n+                    ->assertInputValueIsNot('total_rating', $comment->total_rating)\n+                    ->assertInputValueIsNot('comment', $comment->comment);\n+        });\n+    }\n+\n+    /**\n+     * Make data for test.\n+     *\n+     * @return void\n+     */\n+    public function makeData()\n+    {   \n+        factory(Place::class, 1)->create();\n+        factory(Hotel::class, 1)->create([\n+            'place_id' => 1\n+        ]);\n+    }\n+\n+    /**\n+     * Make user for login.\n+     *\n+     * @return void\n+     */\n+    public function makeUser()\n+    {   \n+        factory(User::create([\n+            'username' => 'user1',\n+            'password' => bcrypt('user1'),\n+            'email' => 'user1@gmail.com',\n+            'full_name' => 'User1',\n+            'phone' => '0123456789',\n+            'is_active' => 1,\n+            'is_admin' => 0\n+            ])\n+        );\n+    }\n+\n+    /**\n+     * Make comment of user had id = idUser for hotel has id = idHotel.\n+     *\n+     * @return void\n+     */\n+    public function makeComment($idUser, $idHotel)","path":"tests/Browser/Pages/Frontend/RatingComments/UserUpdateRatingComment.php","position":198,"original_position":198,"commit_id":"19495147b772a77e561d54d2bfa3cb72b6f1483f","original_commit_id":"19495147b772a77e561d54d2bfa3cb72b6f1483f","user":{"login":"at-huydq2","id":28922268,"avatar_url":"https://avatars2.githubusercontent.com/u/28922268?v=4","gravatar_id":"","url":"https://api.github.com/users/at-huydq2","html_url":"https://github.com/at-huydq2","followers_url":"https://api.github.com/users/at-huydq2/followers","following_url":"https://api.github.com/users/at-huydq2/following{/other_user}","gists_url":"https://api.github.com/users/at-huydq2/gists{/gist_id}","starred_url":"https://api.github.com/users/at-huydq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-huydq2/subscriptions","organizations_url":"https://api.github.com/users/at-huydq2/orgs","repos_url":"https://api.github.com/users/at-huydq2/repos","events_url":"https://api.github.com/users/at-huydq2/events{/privacy}","received_events_url":"https://api.github.com/users/at-huydq2/received_events","type":"User","site_admin":false},"body":"đây cũng vậy ha, tạo RatingComment cần 3 tham số hotel_id, user_id, comment là đủ rồi, còn lại đã tạo trong factory rồi. vì mình ko cần số chính xác. 🍡 ","created_at":"2017-09-27T02:40:39Z","updated_at":"2017-09-27T02:40:39Z","html_url":"https://github.com/AT-PHPIntership/hotel-booking/pull/381#discussion_r141232796","pull_request_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/comments/141232796"},"html":{"href":"https://github.com/AT-PHPIntership/hotel-booking/pull/381#discussion_r141232796"},"pull_request":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381"}}},"pull_request":{"url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381","id":143034645,"html_url":"https://github.com/AT-PHPIntership/hotel-booking/pull/381","diff_url":"https://github.com/AT-PHPIntership/hotel-booking/pull/381.diff","patch_url":"https://github.com/AT-PHPIntership/hotel-booking/pull/381.patch","issue_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/381","number":381,"state":"open","locked":false,"title":"Test user update rating comment","user":{"login":"at-yenho","id":24862074,"avatar_url":"https://avatars2.githubusercontent.com/u/24862074?v=4","gravatar_id":"","url":"https://api.github.com/users/at-yenho","html_url":"https://github.com/at-yenho","followers_url":"https://api.github.com/users/at-yenho/followers","following_url":"https://api.github.com/users/at-yenho/following{/other_user}","gists_url":"https://api.github.com/users/at-yenho/gists{/gist_id}","starred_url":"https://api.github.com/users/at-yenho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-yenho/subscriptions","organizations_url":"https://api.github.com/users/at-yenho/orgs","repos_url":"https://api.github.com/users/at-yenho/repos","events_url":"https://api.github.com/users/at-yenho/events{/privacy}","received_events_url":"https://api.github.com/users/at-yenho/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-26T04:11:01Z","updated_at":"2017-09-27T02:40:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f4ffce6ac664fa02d3331179f485064248e867c","assignee":{"login":"at-huydq2","id":28922268,"avatar_url":"https://avatars2.githubusercontent.com/u/28922268?v=4","gravatar_id":"","url":"https://api.github.com/users/at-huydq2","html_url":"https://github.com/at-huydq2","followers_url":"https://api.github.com/users/at-huydq2/followers","following_url":"https://api.github.com/users/at-huydq2/following{/other_user}","gists_url":"https://api.github.com/users/at-huydq2/gists{/gist_id}","starred_url":"https://api.github.com/users/at-huydq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-huydq2/subscriptions","organizations_url":"https://api.github.com/users/at-huydq2/orgs","repos_url":"https://api.github.com/users/at-huydq2/repos","events_url":"https://api.github.com/users/at-huydq2/events{/privacy}","received_events_url":"https://api.github.com/users/at-huydq2/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-huydq2","id":28922268,"avatar_url":"https://avatars2.githubusercontent.com/u/28922268?v=4","gravatar_id":"","url":"https://api.github.com/users/at-huydq2","html_url":"https://github.com/at-huydq2","followers_url":"https://api.github.com/users/at-huydq2/followers","following_url":"https://api.github.com/users/at-huydq2/following{/other_user}","gists_url":"https://api.github.com/users/at-huydq2/gists{/gist_id}","starred_url":"https://api.github.com/users/at-huydq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-huydq2/subscriptions","organizations_url":"https://api.github.com/users/at-huydq2/orgs","repos_url":"https://api.github.com/users/at-huydq2/repos","events_url":"https://api.github.com/users/at-huydq2/events{/privacy}","received_events_url":"https://api.github.com/users/at-huydq2/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381/commits","review_comments_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381/comments","review_comment_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/381/comments","statuses_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/statuses/19495147b772a77e561d54d2bfa3cb72b6f1483f","head":{"label":"AT-PHPIntership:test_user_update_rating_comment","ref":"test_user_update_rating_comment","sha":"19495147b772a77e561d54d2bfa3cb72b6f1483f","user":{"login":"AT-PHPIntership","id":17865237,"avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"repo":{"id":97444494,"name":"hotel-booking","full_name":"AT-PHPIntership/hotel-booking","owner":{"login":"AT-PHPIntership","id":17865237,"avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AT-PHPIntership/hotel-booking","description":null,"fork":false,"url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking","forks_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/forks","keys_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/teams","hooks_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/hooks","issue_events_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/events{/number}","events_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/events","assignees_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/assignees{/user}","branches_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/branches{/branch}","tags_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/tags","blobs_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/refs{/sha}","trees_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/statuses/{sha}","languages_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/languages","stargazers_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/stargazers","contributors_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/contributors","subscribers_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/subscribers","subscription_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/subscription","commits_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/commits{/sha}","git_commits_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/commits{/sha}","comments_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/comments{/number}","issue_comment_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/comments{/number}","contents_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/contents/{+path}","compare_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/merges","archive_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/downloads","issues_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues{/number}","pulls_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls{/number}","milestones_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/milestones{/number}","notifications_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/labels{/name}","releases_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/releases{/id}","deployments_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/deployments","created_at":"2017-07-17T06:53:27Z","updated_at":"2017-09-26T00:02:26Z","pushed_at":"2017-09-26T23:05:41Z","git_url":"git://github.com/AT-PHPIntership/hotel-booking.git","ssh_url":"git@github.com:AT-PHPIntership/hotel-booking.git","clone_url":"https://github.com/AT-PHPIntership/hotel-booking.git","svn_url":"https://github.com/AT-PHPIntership/hotel-booking","homepage":null,"size":5321,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":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":2,"default_branch":"master"}},"base":{"label":"AT-PHPIntership:master","ref":"master","sha":"5681e7c6d8c3964694752dc6a68edbc5d719359b","user":{"login":"AT-PHPIntership","id":17865237,"avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"repo":{"id":97444494,"name":"hotel-booking","full_name":"AT-PHPIntership/hotel-booking","owner":{"login":"AT-PHPIntership","id":17865237,"avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AT-PHPIntership/hotel-booking","description":null,"fork":false,"url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking","forks_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/forks","keys_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/teams","hooks_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/hooks","issue_events_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/events{/number}","events_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/events","assignees_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/assignees{/user}","branches_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/branches{/branch}","tags_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/tags","blobs_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/refs{/sha}","trees_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/statuses/{sha}","languages_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/languages","stargazers_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/stargazers","contributors_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/contributors","subscribers_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/subscribers","subscription_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/subscription","commits_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/commits{/sha}","git_commits_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/git/commits{/sha}","comments_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/comments{/number}","issue_comment_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/comments{/number}","contents_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/contents/{+path}","compare_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/merges","archive_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/downloads","issues_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues{/number}","pulls_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls{/number}","milestones_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/milestones{/number}","notifications_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/labels{/name}","releases_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/releases{/id}","deployments_url":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/deployments","created_at":"2017-07-17T06:53:27Z","updated_at":"2017-09-26T00:02:26Z","pushed_at":"2017-09-26T23:05:41Z","git_url":"git://github.com/AT-PHPIntership/hotel-booking.git","ssh_url":"git@github.com:AT-PHPIntership/hotel-booking.git","clone_url":"https://github.com/AT-PHPIntership/hotel-booking.git","svn_url":"https://github.com/AT-PHPIntership/hotel-booking","homepage":null,"size":5321,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381"},"html":{"href":"https://github.com/AT-PHPIntership/hotel-booking/pull/381"},"issue":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/381"},"comments":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/issues/381/comments"},"review_comments":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381/comments"},"review_comment":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/pulls/381/commits"},"statuses":{"href":"https://api.github.com/repos/AT-PHPIntership/hotel-booking/statuses/19495147b772a77e561d54d2bfa3cb72b6f1483f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"at-huydq2"}}