{"action":"created","comment":{"url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/comments/199734455","pull_request_review_id":133908486,"id":199734455,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTczNDQ1NQ==","diff_hunk":"@@ -1,43 +1,93 @@\n require(\"should\");\n const host = `${process.env.IP}:${process.env.PORT}`;\n var Request = require(\"supertest\");\n-var server = require(\"../../../test-server\");\n+var getTestServer = require(\"../../../test-server\");\n+var getToken = require(\"../../../token\");\n var ObjectId = require(\"mongodb\").ObjectId;\n \n var request = Request(host);\n var jwt;\n \n-before(\"#00. init server\", function(done){\n-    server().then(server=>{\n+before(\"#00. init server\", function (done) {\n+    getTestServer().then((server) => {\n         request = Request(server);\n-        done();\n+        getToken(request)\n+            .then((token) => {","path":"test/routes/master/garment-product/upload.js","position":19,"original_position":19,"commit_id":"0ed962bc398ff33d143d76bd8220482925324921","original_commit_id":"0ed962bc398ff33d143d76bd8220482925324921","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2018-07-03T09:04:16Z","updated_at":"2018-07-03T09:04:18Z","html_url":"https://github.com/danliris/dl-core-webapi/pull/199#discussion_r199734455","pull_request_url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/comments/199734455"},"html":{"href":"https://github.com/danliris/dl-core-webapi/pull/199#discussion_r199734455"},"pull_request":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199","id":198895673,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4ODk1Njcz","html_url":"https://github.com/danliris/dl-core-webapi/pull/199","diff_url":"https://github.com/danliris/dl-core-webapi/pull/199.diff","patch_url":"https://github.com/danliris/dl-core-webapi/pull/199.patch","issue_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues/199","number":199,"state":"open","locked":false,"title":"Merge DEV to UAT 3 Juli 2018","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-03T09:04:06Z","updated_at":"2018-07-03T09:04:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7e634dbbbe79b0d84633b5f58cbbdcdb64144f8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199/commits","review_comments_url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199/comments","review_comment_url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues/199/comments","statuses_url":"https://api.github.com/repos/danliris/dl-core-webapi/statuses/0ed962bc398ff33d143d76bd8220482925324921","head":{"label":"danliris:dev","ref":"dev","sha":"0ed962bc398ff33d143d76bd8220482925324921","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":64814360,"node_id":"MDEwOlJlcG9zaXRvcnk2NDgxNDM2MA==","name":"dl-core-webapi","full_name":"danliris/dl-core-webapi","owner":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/dl-core-webapi","description":"Dan Liris core function RESTful api","fork":false,"url":"https://api.github.com/repos/danliris/dl-core-webapi","forks_url":"https://api.github.com/repos/danliris/dl-core-webapi/forks","keys_url":"https://api.github.com/repos/danliris/dl-core-webapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/dl-core-webapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/dl-core-webapi/teams","hooks_url":"https://api.github.com/repos/danliris/dl-core-webapi/hooks","issue_events_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/dl-core-webapi/events","assignees_url":"https://api.github.com/repos/danliris/dl-core-webapi/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/dl-core-webapi/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/dl-core-webapi/tags","blobs_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/dl-core-webapi/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/dl-core-webapi/languages","stargazers_url":"https://api.github.com/repos/danliris/dl-core-webapi/stargazers","contributors_url":"https://api.github.com/repos/danliris/dl-core-webapi/contributors","subscribers_url":"https://api.github.com/repos/danliris/dl-core-webapi/subscribers","subscription_url":"https://api.github.com/repos/danliris/dl-core-webapi/subscription","commits_url":"https://api.github.com/repos/danliris/dl-core-webapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/dl-core-webapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/dl-core-webapi/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/dl-core-webapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/dl-core-webapi/merges","archive_url":"https://api.github.com/repos/danliris/dl-core-webapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/dl-core-webapi/downloads","issues_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/dl-core-webapi/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/dl-core-webapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/dl-core-webapi/labels{/name}","releases_url":"https://api.github.com/repos/danliris/dl-core-webapi/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/dl-core-webapi/deployments","created_at":"2016-08-03T04:13:13Z","updated_at":"2016-08-08T03:27:00Z","pushed_at":"2018-07-03T09:04:06Z","git_url":"git://github.com/danliris/dl-core-webapi.git","ssh_url":"git@github.com:danliris/dl-core-webapi.git","clone_url":"https://github.com/danliris/dl-core-webapi.git","svn_url":"https://github.com/danliris/dl-core-webapi","homepage":null,"size":707,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"danliris:uat","ref":"uat","sha":"a8d0bddcb725da5e1c027002f92810f9cf9810d4","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":64814360,"node_id":"MDEwOlJlcG9zaXRvcnk2NDgxNDM2MA==","name":"dl-core-webapi","full_name":"danliris/dl-core-webapi","owner":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/dl-core-webapi","description":"Dan Liris core function RESTful api","fork":false,"url":"https://api.github.com/repos/danliris/dl-core-webapi","forks_url":"https://api.github.com/repos/danliris/dl-core-webapi/forks","keys_url":"https://api.github.com/repos/danliris/dl-core-webapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/dl-core-webapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/dl-core-webapi/teams","hooks_url":"https://api.github.com/repos/danliris/dl-core-webapi/hooks","issue_events_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/dl-core-webapi/events","assignees_url":"https://api.github.com/repos/danliris/dl-core-webapi/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/dl-core-webapi/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/dl-core-webapi/tags","blobs_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/dl-core-webapi/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/dl-core-webapi/languages","stargazers_url":"https://api.github.com/repos/danliris/dl-core-webapi/stargazers","contributors_url":"https://api.github.com/repos/danliris/dl-core-webapi/contributors","subscribers_url":"https://api.github.com/repos/danliris/dl-core-webapi/subscribers","subscription_url":"https://api.github.com/repos/danliris/dl-core-webapi/subscription","commits_url":"https://api.github.com/repos/danliris/dl-core-webapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/dl-core-webapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/dl-core-webapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/dl-core-webapi/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/dl-core-webapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/dl-core-webapi/merges","archive_url":"https://api.github.com/repos/danliris/dl-core-webapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/dl-core-webapi/downloads","issues_url":"https://api.github.com/repos/danliris/dl-core-webapi/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/dl-core-webapi/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/dl-core-webapi/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/dl-core-webapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/dl-core-webapi/labels{/name}","releases_url":"https://api.github.com/repos/danliris/dl-core-webapi/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/dl-core-webapi/deployments","created_at":"2016-08-03T04:13:13Z","updated_at":"2016-08-08T03:27:00Z","pushed_at":"2018-07-03T09:04:06Z","git_url":"git://github.com/danliris/dl-core-webapi.git","ssh_url":"git@github.com:danliris/dl-core-webapi.git","clone_url":"https://github.com/danliris/dl-core-webapi.git","svn_url":"https://github.com/danliris/dl-core-webapi","homepage":null,"size":707,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199"},"html":{"href":"https://github.com/danliris/dl-core-webapi/pull/199"},"issue":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/issues/199"},"comments":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/danliris/dl-core-webapi/statuses/0ed962bc398ff33d143d76bd8220482925324921"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}