{"action":"created","comment":{"url":"https://api.github.com/repos/keboola/input-mapping/pulls/comments/171823116","pull_request_review_id":100744634,"id":171823116,"diff_hunk":"@@ -39,6 +39,27 @@ protected function assertS3info(array $manifest)\n         }\n     }\n \n+    /**\n+     * @param $expectedString\n+     * @param $path\n+     */\n+    public static function assertCSVEquals($expectedString, $path)\n+    {\n+        $expectedArray = explode(\"\\n\", $expectedString);\n+        $actualArray = explode(\"\\n\", file_get_contents($path));\n+\n+        // compare length\n+        self::assertEquals(count($expectedArray), count($actualArray));\n+        // compare headers\n+        self::assertEquals($expectedArray[0], $actualArray[0]);","path":"Tests/ReaderTablesTestAbstract.php","position":16,"original_position":16,"commit_id":"21503ddc572b87972085f7a5dd771b953209ffcd","original_commit_id":"21503ddc572b87972085f7a5dd771b953209ffcd","user":{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false},"body":"header musí být u obou souborů na prvním řádku, ostatní řádky už ne","created_at":"2018-03-02T11:20:12Z","updated_at":"2018-03-02T11:20:12Z","html_url":"https://github.com/keboola/input-mapping/pull/15#discussion_r171823116","pull_request_url":"https://api.github.com/repos/keboola/input-mapping/pulls/15","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/keboola/input-mapping/pulls/comments/171823116"},"html":{"href":"https://github.com/keboola/input-mapping/pull/15#discussion_r171823116"},"pull_request":{"href":"https://api.github.com/repos/keboola/input-mapping/pulls/15"}},"in_reply_to_id":171822495},"pull_request":{"url":"https://api.github.com/repos/keboola/input-mapping/pulls/15","id":172475957,"html_url":"https://github.com/keboola/input-mapping/pull/15","diff_url":"https://github.com/keboola/input-mapping/pull/15.diff","patch_url":"https://github.com/keboola/input-mapping/pull/15.patch","issue_url":"https://api.github.com/repos/keboola/input-mapping/issues/15","number":15,"state":"open","locked":false,"title":"feat: update sapi client","user":{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-02T11:01:13Z","updated_at":"2018-03-02T11:20:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f330fb94f6aa3a6a35638ee31a8fcb646d453389","assignee":{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false},"assignees":[{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/keboola/input-mapping/pulls/15/commits","review_comments_url":"https://api.github.com/repos/keboola/input-mapping/pulls/15/comments","review_comment_url":"https://api.github.com/repos/keboola/input-mapping/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keboola/input-mapping/issues/15/comments","statuses_url":"https://api.github.com/repos/keboola/input-mapping/statuses/21503ddc572b87972085f7a5dd771b953209ffcd","head":{"label":"keboola:update-sapi-client","ref":"update-sapi-client","sha":"21503ddc572b87972085f7a5dd771b953209ffcd","user":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"repo":{"id":63785947,"name":"input-mapping","full_name":"keboola/input-mapping","owner":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keboola/input-mapping","description":"Input mapping library for Docker Runner","fork":false,"url":"https://api.github.com/repos/keboola/input-mapping","forks_url":"https://api.github.com/repos/keboola/input-mapping/forks","keys_url":"https://api.github.com/repos/keboola/input-mapping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keboola/input-mapping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keboola/input-mapping/teams","hooks_url":"https://api.github.com/repos/keboola/input-mapping/hooks","issue_events_url":"https://api.github.com/repos/keboola/input-mapping/issues/events{/number}","events_url":"https://api.github.com/repos/keboola/input-mapping/events","assignees_url":"https://api.github.com/repos/keboola/input-mapping/assignees{/user}","branches_url":"https://api.github.com/repos/keboola/input-mapping/branches{/branch}","tags_url":"https://api.github.com/repos/keboola/input-mapping/tags","blobs_url":"https://api.github.com/repos/keboola/input-mapping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keboola/input-mapping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keboola/input-mapping/git/refs{/sha}","trees_url":"https://api.github.com/repos/keboola/input-mapping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keboola/input-mapping/statuses/{sha}","languages_url":"https://api.github.com/repos/keboola/input-mapping/languages","stargazers_url":"https://api.github.com/repos/keboola/input-mapping/stargazers","contributors_url":"https://api.github.com/repos/keboola/input-mapping/contributors","subscribers_url":"https://api.github.com/repos/keboola/input-mapping/subscribers","subscription_url":"https://api.github.com/repos/keboola/input-mapping/subscription","commits_url":"https://api.github.com/repos/keboola/input-mapping/commits{/sha}","git_commits_url":"https://api.github.com/repos/keboola/input-mapping/git/commits{/sha}","comments_url":"https://api.github.com/repos/keboola/input-mapping/comments{/number}","issue_comment_url":"https://api.github.com/repos/keboola/input-mapping/issues/comments{/number}","contents_url":"https://api.github.com/repos/keboola/input-mapping/contents/{+path}","compare_url":"https://api.github.com/repos/keboola/input-mapping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keboola/input-mapping/merges","archive_url":"https://api.github.com/repos/keboola/input-mapping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keboola/input-mapping/downloads","issues_url":"https://api.github.com/repos/keboola/input-mapping/issues{/number}","pulls_url":"https://api.github.com/repos/keboola/input-mapping/pulls{/number}","milestones_url":"https://api.github.com/repos/keboola/input-mapping/milestones{/number}","notifications_url":"https://api.github.com/repos/keboola/input-mapping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keboola/input-mapping/labels{/name}","releases_url":"https://api.github.com/repos/keboola/input-mapping/releases{/id}","deployments_url":"https://api.github.com/repos/keboola/input-mapping/deployments","created_at":"2016-07-20T13:59:50Z","updated_at":"2016-07-20T14:19:05Z","pushed_at":"2018-03-02T11:01:13Z","git_url":"git://github.com/keboola/input-mapping.git","ssh_url":"git@github.com:keboola/input-mapping.git","clone_url":"https://github.com/keboola/input-mapping.git","svn_url":"https://github.com/keboola/input-mapping","homepage":null,"size":61,"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":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"keboola:master","ref":"master","sha":"683214e65c65e60285909da60880e63be4fc4eed","user":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"repo":{"id":63785947,"name":"input-mapping","full_name":"keboola/input-mapping","owner":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keboola/input-mapping","description":"Input mapping library for Docker Runner","fork":false,"url":"https://api.github.com/repos/keboola/input-mapping","forks_url":"https://api.github.com/repos/keboola/input-mapping/forks","keys_url":"https://api.github.com/repos/keboola/input-mapping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keboola/input-mapping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keboola/input-mapping/teams","hooks_url":"https://api.github.com/repos/keboola/input-mapping/hooks","issue_events_url":"https://api.github.com/repos/keboola/input-mapping/issues/events{/number}","events_url":"https://api.github.com/repos/keboola/input-mapping/events","assignees_url":"https://api.github.com/repos/keboola/input-mapping/assignees{/user}","branches_url":"https://api.github.com/repos/keboola/input-mapping/branches{/branch}","tags_url":"https://api.github.com/repos/keboola/input-mapping/tags","blobs_url":"https://api.github.com/repos/keboola/input-mapping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keboola/input-mapping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keboola/input-mapping/git/refs{/sha}","trees_url":"https://api.github.com/repos/keboola/input-mapping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keboola/input-mapping/statuses/{sha}","languages_url":"https://api.github.com/repos/keboola/input-mapping/languages","stargazers_url":"https://api.github.com/repos/keboola/input-mapping/stargazers","contributors_url":"https://api.github.com/repos/keboola/input-mapping/contributors","subscribers_url":"https://api.github.com/repos/keboola/input-mapping/subscribers","subscription_url":"https://api.github.com/repos/keboola/input-mapping/subscription","commits_url":"https://api.github.com/repos/keboola/input-mapping/commits{/sha}","git_commits_url":"https://api.github.com/repos/keboola/input-mapping/git/commits{/sha}","comments_url":"https://api.github.com/repos/keboola/input-mapping/comments{/number}","issue_comment_url":"https://api.github.com/repos/keboola/input-mapping/issues/comments{/number}","contents_url":"https://api.github.com/repos/keboola/input-mapping/contents/{+path}","compare_url":"https://api.github.com/repos/keboola/input-mapping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keboola/input-mapping/merges","archive_url":"https://api.github.com/repos/keboola/input-mapping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keboola/input-mapping/downloads","issues_url":"https://api.github.com/repos/keboola/input-mapping/issues{/number}","pulls_url":"https://api.github.com/repos/keboola/input-mapping/pulls{/number}","milestones_url":"https://api.github.com/repos/keboola/input-mapping/milestones{/number}","notifications_url":"https://api.github.com/repos/keboola/input-mapping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keboola/input-mapping/labels{/name}","releases_url":"https://api.github.com/repos/keboola/input-mapping/releases{/id}","deployments_url":"https://api.github.com/repos/keboola/input-mapping/deployments","created_at":"2016-07-20T13:59:50Z","updated_at":"2016-07-20T14:19:05Z","pushed_at":"2018-03-02T11:01:13Z","git_url":"git://github.com/keboola/input-mapping.git","ssh_url":"git@github.com:keboola/input-mapping.git","clone_url":"https://github.com/keboola/input-mapping.git","svn_url":"https://github.com/keboola/input-mapping","homepage":null,"size":61,"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":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keboola/input-mapping/pulls/15"},"html":{"href":"https://github.com/keboola/input-mapping/pull/15"},"issue":{"href":"https://api.github.com/repos/keboola/input-mapping/issues/15"},"comments":{"href":"https://api.github.com/repos/keboola/input-mapping/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/keboola/input-mapping/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/keboola/input-mapping/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keboola/input-mapping/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/keboola/input-mapping/statuses/21503ddc572b87972085f7a5dd771b953209ffcd"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ondrejhlavacek"}}