{"action":"created","issue":{"url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/122","repository_url":"https://api.github.com/repos/udacity/Sunshine-Version-2","labels_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/122/comments","events_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/122/events","html_url":"https://github.com/udacity/Sunshine-Version-2/pull/122","id":125036190,"number":122,"title":"4.06 test weather table","user":{"login":"Dhiraj3089","id":8273467,"avatar_url":"https://avatars.githubusercontent.com/u/8273467?v=3","gravatar_id":"","url":"https://api.github.com/users/Dhiraj3089","html_url":"https://github.com/Dhiraj3089","followers_url":"https://api.github.com/users/Dhiraj3089/followers","following_url":"https://api.github.com/users/Dhiraj3089/following{/other_user}","gists_url":"https://api.github.com/users/Dhiraj3089/gists{/gist_id}","starred_url":"https://api.github.com/users/Dhiraj3089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dhiraj3089/subscriptions","organizations_url":"https://api.github.com/users/Dhiraj3089/orgs","repos_url":"https://api.github.com/users/Dhiraj3089/repos","events_url":"https://api.github.com/users/Dhiraj3089/events{/privacy}","received_events_url":"https://api.github.com/users/Dhiraj3089/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T19:43:20Z","updated_at":"2016-04-04T14:11:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/udacity/Sunshine-Version-2/pulls/122","html_url":"https://github.com/udacity/Sunshine-Version-2/pull/122","diff_url":"https://github.com/udacity/Sunshine-Version-2/pull/122.diff","patch_url":"https://github.com/udacity/Sunshine-Version-2/pull/122.patch"},"body":"While running test on testWeatherTable in TestDb it is producing error. When I commented insertlocation() form testLocationTable it worked properly. Existing code is trying to insert same location entry twice because of which primary key is getting failed and raising the error. Please correct me if am wrong. :)\r\n\r\n public void testLocationTable() {\r\n        insertLocation();\r\n    }\r\n\r\npublic void testWeatherTable() {\r\n        long locationRowId = insertLocation();"},"comment":{"url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/comments/205311839","html_url":"https://github.com/udacity/Sunshine-Version-2/pull/122#issuecomment-205311839","issue_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/122","id":205311839,"user":{"login":"juandgaines","id":14947392,"avatar_url":"https://avatars.githubusercontent.com/u/14947392?v=3","gravatar_id":"","url":"https://api.github.com/users/juandgaines","html_url":"https://github.com/juandgaines","followers_url":"https://api.github.com/users/juandgaines/followers","following_url":"https://api.github.com/users/juandgaines/following{/other_user}","gists_url":"https://api.github.com/users/juandgaines/gists{/gist_id}","starred_url":"https://api.github.com/users/juandgaines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juandgaines/subscriptions","organizations_url":"https://api.github.com/users/juandgaines/orgs","repos_url":"https://api.github.com/users/juandgaines/repos","events_url":"https://api.github.com/users/juandgaines/events{/privacy}","received_events_url":"https://api.github.com/users/juandgaines/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T14:11:38Z","updated_at":"2016-04-04T14:11:38Z","body":"Hi, I´ve got the same problem like Dhiraj3089 , when I add insertLocation(); and  testWeatherTable() generate and error inserting data and test fails"}}