{"action":"created","comment":{"url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/comments/61593576","id":61593576,"diff_hunk":"@@ -0,0 +1,266 @@\n+@isTest\n+private class CW_CampaignTriggerHandlerTest {\n+\n+/**\n+* File Name   :    CW_CampaignTriggerHandlerTest.cls\n+* Description :    Test Class for CW_CampaignTriggerHandler.cls\n+*\n+* Modification Log\n+* ============================================================================\n+* Ver Date       Author         Modification\n+* --- ---------- -------------- --------------------------\n+* 0.1 29/04/2014 Chris Yorkston\tInitial version\n+* 0.2 06/06/2014 Klea Kolaric\tD-35748\n+*\n+*\n+*/\n+\t// test that points on Campaign (child) are rolled up to Roadmap (parent) when Campaign records are created, updated, deleted and undeleted\n+\t@isTest static void testCampaignRollupSumOnRoadmap() {\n+\t\t\n+\t\t// setup data\n+\t\tCW_Roadmap__c roadmap = TestDataUtil.getRoadmap();\n+\t\tinsert roadmap;\n+\t\t\n+\t\tList<CW_Campaign__c> camps = TestDataUtil.getCampaigns(2);\n+\t\tfor (CW_Campaign__c c :camps) {\n+\t\t\tc.Roadmap__c = roadmap.Id;\n+\t\t\tc.Points__c = 5.0;\n+\t\t}\n+\t\t\n+\t\t// insert Campaign (with points)\n+\t\tinsert camps;\n+\t\t\n+\t\t// assert inserted campaigns (child) points are rolled up to roadmap (parent)\n+\t\tList<CW_Roadmap__c> roadmaps = [select Id, Points_Used__c from CW_Roadmap__c where Id = :roadmap.Id];\n+\t\tsystem.assertEquals(10.0, roadmaps[0].Points_Used__c);\n+\t\t\n+\t\t// update Campaigns (with points)\n+\t\tcamps[0].Points__c = 20.0;\n+\t\tcamps[1].Points__c = 40.0;\n+\t\tupdate camps;\n+\t\t\n+\t\t// assert updated campaigns (child) points are rolled up to roadmap (parent)\n+\t\troadmaps = [select Id, Points_Used__c from CW_Roadmap__c where Id = :roadmap.Id];\n+\t\tsystem.assertEquals(60.0, roadmaps[0].Points_Used__c);\n+\t\t\n+\t\t// delete Campaign\n+\t\tdelete camps[0];\n+\t\t\n+\t\t// assert deleted campaign (child) points are not rolled up to roadmap (parent)\n+\t\troadmaps = [select Id, Points_Used__c from CW_Roadmap__c where Id = :roadmap.Id];\n+\t\tsystem.assertEquals(40.0, roadmaps[0].Points_Used__c);\n+\t\t\n+\t\t// undelete Campaign\n+\t\tundelete camps[0];\n+\t\t\n+\t\t// assert undeleted campaign (child) points are included in roll up to roadmap (parent)\n+\t\troadmaps = [select Id, Points_Used__c from CW_Roadmap__c where Id = :roadmap.Id];\n+\t\tsystem.assertEquals(60.0, roadmaps[0].Points_Used__c);\n+\t\t\n+\t}\n+\t\n+\t// test that points on Campaign (child) are rolled up to Roadmap (parent) when lookup to Roadmap is removed from a Campaign record\n+\t@isTest static void testCampaignRollupSumOnRoadmapWhenLookupToRoadmapRemoved() {\n+\t\t\n+\t\t// setup data\n+\t\tCW_Roadmap__c roadmap = TestDataUtil.getRoadmap();\n+\t\tinsert roadmap;\n+\t\t\n+\t\tList<CW_Campaign__c> camps = TestDataUtil.getCampaigns(2);\n+\t\tfor (CW_Campaign__c c :camps) {\n+\t\t\tc.Roadmap__c = roadmap.Id;\n+\t\t\tc.Points__c = 5.0;\n+\t\t}\n+\t\t\n+\t\t// insert Campaign (with points)\n+\t\tinsert camps;\n+\t\t\n+\t\t// assert inserted campaigns (child) points are rolled up to roadmap (parent)\n+\t\tList<CW_Roadmap__c> roadmaps = [select Id, Points_Used__c from CW_Roadmap__c where Id = :roadmap.Id];\n+\t\tsystem.assertEquals(10.0, roadmaps[0].Points_Used__c);\n+\t\t\n+\t\t// update Campaign to remove lookup to Roadmap\n+\t\tcamps[0].Roadmap__c = null;\n+\t\tupdate camps[0];\n+\t\t\n+\t\t// assert campaign (child which does not have a Roadmap) points are not rolled up to roadmap (parent)\n+\t\troadmaps = [select Id, Points_Used__c from CW_Roadmap__c where Id = :roadmap.Id];\n+\t\tsystem.assertEquals(5.0, roadmaps[0].Points_Used__c);\n+\t\t\n+\t\t// update Campaign to add lookup to Roadmap\n+\t\tcamps[0].Roadmap__c = roadmap.Id;\n+\t\tupdate camps[0];\n+\t\t\n+\t\t// assert campaign (child) points are rolled up to roadmap (parent)\n+\t\troadmaps = [select Id, Points_Used__c from CW_Roadmap__c where Id = :roadmap.Id];\n+\t\tsystem.assertEquals(10.0, roadmaps[0].Points_Used__c);\n+\t}\n+\t\n+\t@isTest static void updateChildSchedulesWithCampaignStageTest() {\n+\t\t\n+\t\t//setup data\n+\t\tList<CW_Campaign__c> camps = TestDataUtil.getCampaigns(2);\n+\t\tfor (CW_Campaign__c c :camps) c.Stage__c = 'stage 1';\n+\t\t\n+\t\t// insert Campaign (with stage)\n+\t\tinsert camps;\n+\t\t\n+\t\tList<CW_Schedule__c> schedules = new List<CW_Schedule__c>();\n+\t\tList<CW_Schedule__c> schedules1 = TestDataUtil.getSchedules(camps[0].Id, 5);\n+\t\tList<CW_Schedule__c> schedules2 = TestDataUtil.getSchedules(camps[1].Id, 5);\n+\t\tschedules.addAll(schedules1);\n+\t\tschedules.addAll(schedules2);\n+\t\t\n+\t\t// insert schedules\n+\t\tinsert schedules;\n+\t\t\n+\t\t// get schedule ids\n+\t\tSet<Id> scheduleIds = new Set<Id>();\n+\t\tfor (CW_Schedule__c s :schedules) scheduleIds.add(s.Id);\n+\t\t\n+\t\t// update schedules\n+\t\tfor (CW_Campaign__c c :camps) c.Stage__c = 'stage 2';\n+\t\tupdate camps;\n+\t\t\n+\t\t// assert schedules have been updated\n+\t\tList<CW_Schedule__c> updatedSchedules = [select Id, Campaign_Stage__c from CW_Schedule__c where Id in:scheduleIds];\n+\t\t\n+\t\tfor (CW_Schedule__c s :updatedSchedules) system.assertEquals('stage 2', s.Campaign_Stage__c);\n+\t}\n+\t\n+\tstatic testMethod void testRecurrenceType()\n+\t{\n+\t\tCW_Campaign__c camp = TestDataUtil.createCampaign();\t// insert with no recurrence to avoid triggers\n+    \tinsert camp;\n+    \tcamp.Recurrence_Type__c = ConstantUtil.CAMPAIGN_RECURRENCE_TYPE_RECURRING;\n+    \t\n+    \tCW_Campaign__c campNew = camp.clone(true,true);\n+    \tcampNew.Recurrence_Type__c = ConstantUtil.CAMPAIGN_RECURRENCE_TYPE_SINGLE;\n+    \t\n+    \tCW_Schedule__c sch = TestDataUtil.createSchedule(camp);\n+    \tinsert sch;\n+    \t\n+    \tTest.startTest();\n+    \t\n+    \tCW_CampaignTriggerHandler cth = new CW_CampaignTriggerHandler(true);\n+    \tcth.cascadeDeleteSchedulesOnUpdate(new List<CW_Campaign__c>{campNew}, new Map<Id,CW_Campaign__c>(new List<CW_Campaign__c>{camp}));\n+    \t\n+    \tTest.stopTest();\n+    \t\n+    \t// assert that new schdule was created and old one deleted\n+    \tsystem.assertEquals(1,[select count() from CW_Schedule__c where id != :sch.id]);\n+    \tsystem.assertEquals(0,[select count() from CW_Schedule__c where id = :sch.id]);\n+\t}\n+\t\n+\tstatic testMethod void testUpdateCampaignStageWhenBriefIsRejectedOrRecalled()\n+\t{\n+\t\tCW_Campaign__c camp = TestDataUtil.createCampaign();\t// insert with no recurrence to avoid triggers\n+    \tcamp.Recurrence_Type__c = ConstantUtil.CAMPAIGN_RECURRENCE_TYPE_RECURRING;\n+    \tcamp.Brief_Approval_Status__c = 'In Approval';\n+    \tinsert camp;\n+    \t\n+    \tTest.startTest();\n+    \tcamp.Brief_Approval_Status__c = 'Rejected';\n+    \tupdate camp;\n+    \tTest.stopTest();\n+    \tsystem.assertEquals('Draft',[Select Stage__c from CW_Campaign__c where Id=:camp.Id].Stage__c);\n+    \t\n+    \tcamp.Brief_Approval_Status__c = 'In Approval';\n+    \tcamp.Cost_Approval_Status__c = 'Approved';\n+    \tcamp.Roadmap_Approval_Status__c = 'Approved';\n+    \tupdate camp;\n+    \t\n+    \tcamp.Brief_Approval_Status__c = 'Rejected';\n+    \tupdate camp;\n+    \tsystem.assertEquals('Roadmap Approved',[Select Stage__c from CW_Campaign__c where Id=:camp.Id].Stage__c);\n+    \t\n+    \t//recall brief for an urgent campaign -> camp stage should revert to draft\n+    \tcamp.Brief_Approval_Status__c = 'In Approval';\n+    \tcamp.Roadmap_Approval_Status__c = 'Not Submitted';\n+    \tupdate camp;\n+    \t\n+    \tcamp.Brief_Approval_Status__c = 'Not Submitted';\n+    \tupdate camp;\n+    \tsystem.assertEquals('Draft',[Select Stage__c from CW_Campaign__c where Id=:camp.Id].Stage__c);\n+    \t//recall the brief when roadmap is approved -> camp stage should revert to roadmap approved\n+    \tcamp.Brief_Approval_Status__c = 'In Approval';\n+    \tcamp.Roadmap_Approval_Status__c = 'Approved';\n+    \tupdate camp;\n+    \t\n+    \tcamp.Brief_Approval_Status__c = 'Not Submitted';\n+    \tupdate camp;\n+    \tsystem.assertEquals('Roadmap Approved',[Select Stage__c from CW_Campaign__c where Id=:camp.Id].Stage__c);","path":"src/classes/CW_CampaignTriggerHandlerTest.cls","position":192,"original_position":192,"commit_id":"714c08cfff4b74a7e823ac4b37b4156817224b7e","original_commit_id":"714c08cfff4b74a7e823ac4b37b4156817224b7e","user":{"login":"eroispaziali","id":1273282,"avatar_url":"https://avatars.githubusercontent.com/u/1273282?v=3","gravatar_id":"","url":"https://api.github.com/users/eroispaziali","html_url":"https://github.com/eroispaziali","followers_url":"https://api.github.com/users/eroispaziali/followers","following_url":"https://api.github.com/users/eroispaziali/following{/other_user}","gists_url":"https://api.github.com/users/eroispaziali/gists{/gist_id}","starred_url":"https://api.github.com/users/eroispaziali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroispaziali/subscriptions","organizations_url":"https://api.github.com/users/eroispaziali/orgs","repos_url":"https://api.github.com/users/eroispaziali/repos","events_url":"https://api.github.com/users/eroispaziali/events{/privacy}","received_events_url":"https://api.github.com/users/eroispaziali/received_events","type":"User","site_admin":false},"body":"Problem: Unbound SOQL query. Reason: a SOQL query can return up to 50,000 records. If this number is exceeded a runtime exception is thrown. Suggestion: cap the max number of records returned adding a LIMIT clause to the query.","created_at":"2016-04-29T15:14:34Z","updated_at":"2016-04-29T15:14:34Z","html_url":"https://github.com/eroispaziali/silly-repo/pull/5#discussion_r61593576","pull_request_url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/comments/61593576"},"html":{"href":"https://github.com/eroispaziali/silly-repo/pull/5#discussion_r61593576"},"pull_request":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5","id":68382988,"html_url":"https://github.com/eroispaziali/silly-repo/pull/5","diff_url":"https://github.com/eroispaziali/silly-repo/pull/5.diff","patch_url":"https://github.com/eroispaziali/silly-repo/pull/5.patch","issue_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues/5","number":5,"state":"open","locked":false,"title":"New","user":{"login":"eroispaziali","id":1273282,"avatar_url":"https://avatars.githubusercontent.com/u/1273282?v=3","gravatar_id":"","url":"https://api.github.com/users/eroispaziali","html_url":"https://github.com/eroispaziali","followers_url":"https://api.github.com/users/eroispaziali/followers","following_url":"https://api.github.com/users/eroispaziali/following{/other_user}","gists_url":"https://api.github.com/users/eroispaziali/gists{/gist_id}","starred_url":"https://api.github.com/users/eroispaziali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroispaziali/subscriptions","organizations_url":"https://api.github.com/users/eroispaziali/orgs","repos_url":"https://api.github.com/users/eroispaziali/repos","events_url":"https://api.github.com/users/eroispaziali/events{/privacy}","received_events_url":"https://api.github.com/users/eroispaziali/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-29T14:46:07Z","updated_at":"2016-04-29T15:14:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17cdd3642a11ea119ee8cac71b5ac47cc1a4de72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5/commits","review_comments_url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5/comments","review_comment_url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues/5/comments","statuses_url":"https://api.github.com/repos/eroispaziali/silly-repo/statuses/714c08cfff4b74a7e823ac4b37b4156817224b7e","head":{"label":"eroispaziali:new","ref":"new","sha":"714c08cfff4b74a7e823ac4b37b4156817224b7e","user":{"login":"eroispaziali","id":1273282,"avatar_url":"https://avatars.githubusercontent.com/u/1273282?v=3","gravatar_id":"","url":"https://api.github.com/users/eroispaziali","html_url":"https://github.com/eroispaziali","followers_url":"https://api.github.com/users/eroispaziali/followers","following_url":"https://api.github.com/users/eroispaziali/following{/other_user}","gists_url":"https://api.github.com/users/eroispaziali/gists{/gist_id}","starred_url":"https://api.github.com/users/eroispaziali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroispaziali/subscriptions","organizations_url":"https://api.github.com/users/eroispaziali/orgs","repos_url":"https://api.github.com/users/eroispaziali/repos","events_url":"https://api.github.com/users/eroispaziali/events{/privacy}","received_events_url":"https://api.github.com/users/eroispaziali/received_events","type":"User","site_admin":false},"repo":{"id":56512547,"name":"silly-repo","full_name":"eroispaziali/silly-repo","owner":{"login":"eroispaziali","id":1273282,"avatar_url":"https://avatars.githubusercontent.com/u/1273282?v=3","gravatar_id":"","url":"https://api.github.com/users/eroispaziali","html_url":"https://github.com/eroispaziali","followers_url":"https://api.github.com/users/eroispaziali/followers","following_url":"https://api.github.com/users/eroispaziali/following{/other_user}","gists_url":"https://api.github.com/users/eroispaziali/gists{/gist_id}","starred_url":"https://api.github.com/users/eroispaziali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroispaziali/subscriptions","organizations_url":"https://api.github.com/users/eroispaziali/orgs","repos_url":"https://api.github.com/users/eroispaziali/repos","events_url":"https://api.github.com/users/eroispaziali/events{/privacy}","received_events_url":"https://api.github.com/users/eroispaziali/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eroispaziali/silly-repo","description":"This repo is just for testing GitHub APIs","fork":false,"url":"https://api.github.com/repos/eroispaziali/silly-repo","forks_url":"https://api.github.com/repos/eroispaziali/silly-repo/forks","keys_url":"https://api.github.com/repos/eroispaziali/silly-repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eroispaziali/silly-repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eroispaziali/silly-repo/teams","hooks_url":"https://api.github.com/repos/eroispaziali/silly-repo/hooks","issue_events_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues/events{/number}","events_url":"https://api.github.com/repos/eroispaziali/silly-repo/events","assignees_url":"https://api.github.com/repos/eroispaziali/silly-repo/assignees{/user}","branches_url":"https://api.github.com/repos/eroispaziali/silly-repo/branches{/branch}","tags_url":"https://api.github.com/repos/eroispaziali/silly-repo/tags","blobs_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eroispaziali/silly-repo/statuses/{sha}","languages_url":"https://api.github.com/repos/eroispaziali/silly-repo/languages","stargazers_url":"https://api.github.com/repos/eroispaziali/silly-repo/stargazers","contributors_url":"https://api.github.com/repos/eroispaziali/silly-repo/contributors","subscribers_url":"https://api.github.com/repos/eroispaziali/silly-repo/subscribers","subscription_url":"https://api.github.com/repos/eroispaziali/silly-repo/subscription","commits_url":"https://api.github.com/repos/eroispaziali/silly-repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/eroispaziali/silly-repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues/comments{/number}","contents_url":"https://api.github.com/repos/eroispaziali/silly-repo/contents/{+path}","compare_url":"https://api.github.com/repos/eroispaziali/silly-repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eroispaziali/silly-repo/merges","archive_url":"https://api.github.com/repos/eroispaziali/silly-repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eroispaziali/silly-repo/downloads","issues_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues{/number}","pulls_url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls{/number}","milestones_url":"https://api.github.com/repos/eroispaziali/silly-repo/milestones{/number}","notifications_url":"https://api.github.com/repos/eroispaziali/silly-repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eroispaziali/silly-repo/labels{/name}","releases_url":"https://api.github.com/repos/eroispaziali/silly-repo/releases{/id}","deployments_url":"https://api.github.com/repos/eroispaziali/silly-repo/deployments","created_at":"2016-04-18T14:02:28Z","updated_at":"2016-04-20T18:49:34Z","pushed_at":"2016-04-29T14:46:07Z","git_url":"git://github.com/eroispaziali/silly-repo.git","ssh_url":"git@github.com:eroispaziali/silly-repo.git","clone_url":"https://github.com/eroispaziali/silly-repo.git","svn_url":"https://github.com/eroispaziali/silly-repo","homepage":null,"size":2487,"stargazers_count":0,"watchers_count":0,"language":"Apex","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"eroispaziali:master","ref":"master","sha":"cf6e618ba8008d2569e401a88e2f3a65be37be18","user":{"login":"eroispaziali","id":1273282,"avatar_url":"https://avatars.githubusercontent.com/u/1273282?v=3","gravatar_id":"","url":"https://api.github.com/users/eroispaziali","html_url":"https://github.com/eroispaziali","followers_url":"https://api.github.com/users/eroispaziali/followers","following_url":"https://api.github.com/users/eroispaziali/following{/other_user}","gists_url":"https://api.github.com/users/eroispaziali/gists{/gist_id}","starred_url":"https://api.github.com/users/eroispaziali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroispaziali/subscriptions","organizations_url":"https://api.github.com/users/eroispaziali/orgs","repos_url":"https://api.github.com/users/eroispaziali/repos","events_url":"https://api.github.com/users/eroispaziali/events{/privacy}","received_events_url":"https://api.github.com/users/eroispaziali/received_events","type":"User","site_admin":false},"repo":{"id":56512547,"name":"silly-repo","full_name":"eroispaziali/silly-repo","owner":{"login":"eroispaziali","id":1273282,"avatar_url":"https://avatars.githubusercontent.com/u/1273282?v=3","gravatar_id":"","url":"https://api.github.com/users/eroispaziali","html_url":"https://github.com/eroispaziali","followers_url":"https://api.github.com/users/eroispaziali/followers","following_url":"https://api.github.com/users/eroispaziali/following{/other_user}","gists_url":"https://api.github.com/users/eroispaziali/gists{/gist_id}","starred_url":"https://api.github.com/users/eroispaziali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroispaziali/subscriptions","organizations_url":"https://api.github.com/users/eroispaziali/orgs","repos_url":"https://api.github.com/users/eroispaziali/repos","events_url":"https://api.github.com/users/eroispaziali/events{/privacy}","received_events_url":"https://api.github.com/users/eroispaziali/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eroispaziali/silly-repo","description":"This repo is just for testing GitHub APIs","fork":false,"url":"https://api.github.com/repos/eroispaziali/silly-repo","forks_url":"https://api.github.com/repos/eroispaziali/silly-repo/forks","keys_url":"https://api.github.com/repos/eroispaziali/silly-repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eroispaziali/silly-repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eroispaziali/silly-repo/teams","hooks_url":"https://api.github.com/repos/eroispaziali/silly-repo/hooks","issue_events_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues/events{/number}","events_url":"https://api.github.com/repos/eroispaziali/silly-repo/events","assignees_url":"https://api.github.com/repos/eroispaziali/silly-repo/assignees{/user}","branches_url":"https://api.github.com/repos/eroispaziali/silly-repo/branches{/branch}","tags_url":"https://api.github.com/repos/eroispaziali/silly-repo/tags","blobs_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eroispaziali/silly-repo/statuses/{sha}","languages_url":"https://api.github.com/repos/eroispaziali/silly-repo/languages","stargazers_url":"https://api.github.com/repos/eroispaziali/silly-repo/stargazers","contributors_url":"https://api.github.com/repos/eroispaziali/silly-repo/contributors","subscribers_url":"https://api.github.com/repos/eroispaziali/silly-repo/subscribers","subscription_url":"https://api.github.com/repos/eroispaziali/silly-repo/subscription","commits_url":"https://api.github.com/repos/eroispaziali/silly-repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/eroispaziali/silly-repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/eroispaziali/silly-repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues/comments{/number}","contents_url":"https://api.github.com/repos/eroispaziali/silly-repo/contents/{+path}","compare_url":"https://api.github.com/repos/eroispaziali/silly-repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eroispaziali/silly-repo/merges","archive_url":"https://api.github.com/repos/eroispaziali/silly-repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eroispaziali/silly-repo/downloads","issues_url":"https://api.github.com/repos/eroispaziali/silly-repo/issues{/number}","pulls_url":"https://api.github.com/repos/eroispaziali/silly-repo/pulls{/number}","milestones_url":"https://api.github.com/repos/eroispaziali/silly-repo/milestones{/number}","notifications_url":"https://api.github.com/repos/eroispaziali/silly-repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eroispaziali/silly-repo/labels{/name}","releases_url":"https://api.github.com/repos/eroispaziali/silly-repo/releases{/id}","deployments_url":"https://api.github.com/repos/eroispaziali/silly-repo/deployments","created_at":"2016-04-18T14:02:28Z","updated_at":"2016-04-20T18:49:34Z","pushed_at":"2016-04-29T14:46:07Z","git_url":"git://github.com/eroispaziali/silly-repo.git","ssh_url":"git@github.com:eroispaziali/silly-repo.git","clone_url":"https://github.com/eroispaziali/silly-repo.git","svn_url":"https://github.com/eroispaziali/silly-repo","homepage":null,"size":2487,"stargazers_count":0,"watchers_count":0,"language":"Apex","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5"},"html":{"href":"https://github.com/eroispaziali/silly-repo/pull/5"},"issue":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/issues/5"},"comments":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/eroispaziali/silly-repo/statuses/714c08cfff4b74a7e823ac4b37b4156817224b7e"}}}}