{"action":"created","issue":{"url":"https://api.github.com/repos/koldovsky/orlp-server/issues/244","repository_url":"https://api.github.com/repos/koldovsky/orlp-server","labels_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/244/comments","events_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/244/events","html_url":"https://github.com/koldovsky/orlp-server/pull/244","id":363924864,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MjM4MTA3","number":244,"title":"Closes #223 - Update tests for controllers(Audit Controller)","user":{"login":"hlibOstapenko","id":32247772,"node_id":"MDQ6VXNlcjMyMjQ3Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/32247772?v=4","gravatar_id":"","url":"https://api.github.com/users/hlibOstapenko","html_url":"https://github.com/hlibOstapenko","followers_url":"https://api.github.com/users/hlibOstapenko/followers","following_url":"https://api.github.com/users/hlibOstapenko/following{/other_user}","gists_url":"https://api.github.com/users/hlibOstapenko/gists{/gist_id}","starred_url":"https://api.github.com/users/hlibOstapenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlibOstapenko/subscriptions","organizations_url":"https://api.github.com/users/hlibOstapenko/orgs","repos_url":"https://api.github.com/users/hlibOstapenko/repos","events_url":"https://api.github.com/users/hlibOstapenko/events{/privacy}","received_events_url":"https://api.github.com/users/hlibOstapenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-26T09:01:44Z","updated_at":"2018-09-26T11:10:16Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/244","html_url":"https://github.com/koldovsky/orlp-server/pull/244","diff_url":"https://github.com/koldovsky/orlp-server/pull/244.diff","patch_url":"https://github.com/koldovsky/orlp-server/pull/244.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/koldovsky/orlp-server/issues/comments/424676674","html_url":"https://github.com/koldovsky/orlp-server/pull/244#issuecomment-424676674","issue_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/244","id":424676674,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDY3NjY3NA==","user":{"login":"antonbakalets","id":3871580,"node_id":"MDQ6VXNlcjM4NzE1ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/3871580?v=4","gravatar_id":"","url":"https://api.github.com/users/antonbakalets","html_url":"https://github.com/antonbakalets","followers_url":"https://api.github.com/users/antonbakalets/followers","following_url":"https://api.github.com/users/antonbakalets/following{/other_user}","gists_url":"https://api.github.com/users/antonbakalets/gists{/gist_id}","starred_url":"https://api.github.com/users/antonbakalets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonbakalets/subscriptions","organizations_url":"https://api.github.com/users/antonbakalets/orgs","repos_url":"https://api.github.com/users/antonbakalets/repos","events_url":"https://api.github.com/users/antonbakalets/events{/privacy}","received_events_url":"https://api.github.com/users/antonbakalets/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T11:10:16Z","updated_at":"2018-09-26T11:10:16Z","author_association":"COLLABORATOR","body":"Instead of compairing the whole json, use jsonPath to chech significant parts only. Check this example https://www.petrikainulainen.net/programming/spring-framework/integration-testing-of-spring-mvc-applications-write-clean-assertions-with-jsonpath/\r\n\r\nAs this test is about pagination the most signicant are size of returned collection, pageNumber and other fields of Page object.\r\n\r\nThere are online tools like http://jsonpath.com/ that can help to build a correct jsonPath."}}
{"actor":{"display_login":"antonbakalets"}}