payload: {"action":"created","comment":{"url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/comments/360243265","pull_request_review_id":335087550,"id":360243265,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2MDI0MzI2NQ==","diff_hunk":"@@ -0,0 +1,49 @@\n+<?php\n+\n+namespace Tests\\Unit\\Models;\n+\n+use App\\Models\\Image;\n+use Illuminate\\Database\\Eloquent\\Relations\\BelongsTo;\n+use Tests\\TestCase;\n+\n+class ImageTest extends TestCase\n+{\n+    /**\n+     * A basic unit test example.\n+     *\n+     * @return void\n+     */\n+    protected function setUp(): void","path":"tests/Unit/Models/ImageTest.php","position":16,"original_position":16,"commit_id":"d9d7b8e1da6fd38b13d1c871d6065772e9cf8239","original_commit_id":"99e03cc64d58d52fca74abde06199f1bd37e864d","user":{"login":"cuongcx1998","id":38183162,"node_id":"MDQ6VXNlcjM4MTgzMTYy","avatar_url":"https://avatars1.githubusercontent.com/u/38183162?v=4","gravatar_id":"","url":"https://api.github.com/users/cuongcx1998","html_url":"https://github.com/cuongcx1998","followers_url":"https://api.github.com/users/cuongcx1998/followers","following_url":"https://api.github.com/users/cuongcx1998/following{/other_user}","gists_url":"https://api.github.com/users/cuongcx1998/gists{/gist_id}","starred_url":"https://api.github.com/users/cuongcx1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuongcx1998/subscriptions","organizations_url":"https://api.github.com/users/cuongcx1998/orgs","repos_url":"https://api.github.com/users/cuongcx1998/repos","events_url":"https://api.github.com/users/cuongcx1998/events{/privacy}","received_events_url":"https://api.github.com/users/cuongcx1998/received_events","type":"User","site_admin":false},"body":"Dạ hàm này chạy trước mỗi method test. Sử dụng khi muốn khởi tạo biến, mở kết nối file,... chuẩn bị môi trường để test","created_at":"2019-12-20T06:34:11Z","updated_at":"2019-12-20T06:34:12Z","html_url":"https://github.com/awesome-academy/php_oe26_lap_ecommerce/pull/13#discussion_r360243265","pull_request_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/comments/360243265"},"html":{"href":"https://github.com/awesome-academy/php_oe26_lap_ecommerce/pull/13#discussion_r360243265"},"pull_request":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13"}},"in_reply_to_id":360242356},"pull_request":{"url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13","id":355506821,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU1NTA2ODIx","html_url":"https://github.com/awesome-academy/php_oe26_lap_ecommerce/pull/13","diff_url":"https://github.com/awesome-academy/php_oe26_lap_ecommerce/pull/13.diff","patch_url":"https://github.com/awesome-academy/php_oe26_lap_ecommerce/pull/13.patch","issue_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/issues/13","number":13,"state":"open","locked":false,"title":"Test model","user":{"login":"cuongcx1998","id":38183162,"node_id":"MDQ6VXNlcjM4MTgzMTYy","avatar_url":"https://avatars1.githubusercontent.com/u/38183162?v=4","gravatar_id":"","url":"https://api.github.com/users/cuongcx1998","html_url":"https://github.com/cuongcx1998","followers_url":"https://api.github.com/users/cuongcx1998/followers","following_url":"https://api.github.com/users/cuongcx1998/following{/other_user}","gists_url":"https://api.github.com/users/cuongcx1998/gists{/gist_id}","starred_url":"https://api.github.com/users/cuongcx1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuongcx1998/subscriptions","organizations_url":"https://api.github.com/users/cuongcx1998/orgs","repos_url":"https://api.github.com/users/cuongcx1998/repos","events_url":"https://api.github.com/users/cuongcx1998/events{/privacy}","received_events_url":"https://api.github.com/users/cuongcx1998/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-12-20T03:45:55Z","updated_at":"2019-12-20T06:34:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63343e74634ed4317780d9ff317271acddaef013","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13/commits","review_comments_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13/comments","review_comment_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/issues/13/comments","statuses_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/statuses/d9d7b8e1da6fd38b13d1c871d6065772e9cf8239","head":{"label":"cuongcx1998:TestModel","ref":"TestModel","sha":"d9d7b8e1da6fd38b13d1c871d6065772e9cf8239","user":{"login":"cuongcx1998","id":38183162,"node_id":"MDQ6VXNlcjM4MTgzMTYy","avatar_url":"https://avatars1.githubusercontent.com/u/38183162?v=4","gravatar_id":"","url":"https://api.github.com/users/cuongcx1998","html_url":"https://github.com/cuongcx1998","followers_url":"https://api.github.com/users/cuongcx1998/followers","following_url":"https://api.github.com/users/cuongcx1998/following{/other_user}","gists_url":"https://api.github.com/users/cuongcx1998/gists{/gist_id}","starred_url":"https://api.github.com/users/cuongcx1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuongcx1998/subscriptions","organizations_url":"https://api.github.com/users/cuongcx1998/orgs","repos_url":"https://api.github.com/users/cuongcx1998/repos","events_url":"https://api.github.com/users/cuongcx1998/events{/privacy}","received_events_url":"https://api.github.com/users/cuongcx1998/received_events","type":"User","site_admin":false},"repo":{"id":222398577,"node_id":"MDEwOlJlcG9zaXRvcnkyMjIzOTg1Nzc=","name":"php_oe26_lap_ecommerce","full_name":"cuongcx1998/php_oe26_lap_ecommerce","private":false,"owner":{"login":"cuongcx1998","id":38183162,"node_id":"MDQ6VXNlcjM4MTgzMTYy","avatar_url":"https://avatars1.githubusercontent.com/u/38183162?v=4","gravatar_id":"","url":"https://api.github.com/users/cuongcx1998","html_url":"https://github.com/cuongcx1998","followers_url":"https://api.github.com/users/cuongcx1998/followers","following_url":"https://api.github.com/users/cuongcx1998/following{/other_user}","gists_url":"https://api.github.com/users/cuongcx1998/gists{/gist_id}","starred_url":"https://api.github.com/users/cuongcx1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuongcx1998/subscriptions","organizations_url":"https://api.github.com/users/cuongcx1998/orgs","repos_url":"https://api.github.com/users/cuongcx1998/repos","events_url":"https://api.github.com/users/cuongcx1998/events{/privacy}","received_events_url":"https://api.github.com/users/cuongcx1998/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cuongcx1998/php_oe26_lap_ecommerce","description":null,"fork":true,"url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce","forks_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/forks","keys_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/teams","hooks_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/hooks","issue_events_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/issues/events{/number}","events_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/events","assignees_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/assignees{/user}","branches_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/branches{/branch}","tags_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/tags","blobs_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/languages","stargazers_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/stargazers","contributors_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/contributors","subscribers_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/subscribers","subscription_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/subscription","commits_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/contents/{+path}","compare_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/merges","archive_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/downloads","issues_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/issues{/number}","pulls_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/labels{/name}","releases_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/releases{/id}","deployments_url":"https://api.github.com/repos/cuongcx1998/php_oe26_lap_ecommerce/deployments","created_at":"2019-11-18T08:26:46Z","updated_at":"2019-11-18T08:26:48Z","pushed_at":"2019-12-20T06:33:35Z","git_url":"git://github.com/cuongcx1998/php_oe26_lap_ecommerce.git","ssh_url":"git@github.com:cuongcx1998/php_oe26_lap_ecommerce.git","clone_url":"https://github.com/cuongcx1998/php_oe26_lap_ecommerce.git","svn_url":"https://github.com/cuongcx1998/php_oe26_lap_ecommerce","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awesome-academy:master","ref":"master","sha":"70b33285cde35371e93c132d2b1ca7ae03ded721","user":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":222393342,"node_id":"MDEwOlJlcG9zaXRvcnkyMjIzOTMzNDI=","name":"php_oe26_lap_ecommerce","full_name":"awesome-academy/php_oe26_lap_ecommerce","private":false,"owner":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/awesome-academy/php_oe26_lap_ecommerce","description":null,"fork":false,"url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce","forks_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/forks","keys_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/teams","hooks_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/hooks","issue_events_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/issues/events{/number}","events_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/events","assignees_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/assignees{/user}","branches_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/branches{/branch}","tags_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/tags","blobs_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/languages","stargazers_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/stargazers","contributors_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/contributors","subscribers_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/subscribers","subscription_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/subscription","commits_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/contents/{+path}","compare_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/merges","archive_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/downloads","issues_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/issues{/number}","pulls_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/labels{/name}","releases_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/releases{/id}","deployments_url":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/deployments","created_at":"2019-11-18T07:58:52Z","updated_at":"2019-12-18T01:10:18Z","pushed_at":"2019-12-20T06:33:36Z","git_url":"git://github.com/awesome-academy/php_oe26_lap_ecommerce.git","ssh_url":"git@github.com:awesome-academy/php_oe26_lap_ecommerce.git","clone_url":"https://github.com/awesome-academy/php_oe26_lap_ecommerce.git","svn_url":"https://github.com/awesome-academy/php_oe26_lap_ecommerce","homepage":null,"size":150,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":null,"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13"},"html":{"href":"https://github.com/awesome-academy/php_oe26_lap_ecommerce/pull/13"},"issue":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/issues/13"},"comments":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/awesome-academy/php_oe26_lap_ecommerce/statuses/d9d7b8e1da6fd38b13d1c871d6065772e9cf8239"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"cuongcx1998"}}