{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/6941","repository_url":"https://api.github.com/repos/CartoDB/cartodb","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/6941/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/6941/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/6941/events","html_url":"https://github.com/CartoDB/cartodb/pull/6941","id":142334671,"number":6941,"title":"Refactor all randomness from tests","user":{"login":"javitonino","id":7569673,"avatar_url":"https://avatars.githubusercontent.com/u/7569673?v=3","gravatar_id":"","url":"https://api.github.com/users/javitonino","html_url":"https://github.com/javitonino","followers_url":"https://api.github.com/users/javitonino/followers","following_url":"https://api.github.com/users/javitonino/following{/other_user}","gists_url":"https://api.github.com/users/javitonino/gists{/gist_id}","starred_url":"https://api.github.com/users/javitonino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javitonino/subscriptions","organizations_url":"https://api.github.com/users/javitonino/orgs","repos_url":"https://api.github.com/users/javitonino/repos","events_url":"https://api.github.com/users/javitonino/events{/privacy}","received_events_url":"https://api.github.com/users/javitonino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-21T12:35:05Z","updated_at":"2016-03-21T14:52:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb/pulls/6941","html_url":"https://github.com/CartoDB/cartodb/pull/6941","diff_url":"https://github.com/CartoDB/cartodb/pull/6941.diff","patch_url":"https://github.com/CartoDB/cartodb/pull/6941.patch"},"body":"There are lots of different calls to get random names in the test suite. This PR refactor all that to make all calls go through a helper so it's easier to change this if necessary.\r\n\r\nThis has been a problem multiple times with tests breaking due to duplicate user/org names, etc. This change should solve all that and make future changes easier.\r\n\r\nCloses #6937 "},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/199324057","html_url":"https://github.com/CartoDB/cartodb/pull/6941#issuecomment-199324057","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/6941","id":199324057,"user":{"login":"gfiorav","id":4222826,"avatar_url":"https://avatars.githubusercontent.com/u/4222826?v=3","gravatar_id":"","url":"https://api.github.com/users/gfiorav","html_url":"https://github.com/gfiorav","followers_url":"https://api.github.com/users/gfiorav/followers","following_url":"https://api.github.com/users/gfiorav/following{/other_user}","gists_url":"https://api.github.com/users/gfiorav/gists{/gist_id}","starred_url":"https://api.github.com/users/gfiorav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfiorav/subscriptions","organizations_url":"https://api.github.com/users/gfiorav/orgs","repos_url":"https://api.github.com/users/gfiorav/repos","events_url":"https://api.github.com/users/gfiorav/events{/privacy}","received_events_url":"https://api.github.com/users/gfiorav/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T14:52:41Z","updated_at":"2016-03-21T14:52:41Z","body":"I've made some comments to refactor the new helper methods!"}}