{"action":"created","issue":{"url":"https://api.github.com/repos/andela/travel_tool_back/issues/214","repository_url":"https://api.github.com/repos/andela/travel_tool_back","labels_url":"https://api.github.com/repos/andela/travel_tool_back/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/andela/travel_tool_back/issues/214/comments","events_url":"https://api.github.com/repos/andela/travel_tool_back/issues/214/events","html_url":"https://github.com/andela/travel_tool_back/pull/214","id":390670577,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MzgzMDgx","number":214,"title":"#162636597 Create seeders for e2e tests","user":{"login":"asamisellah","id":13402544,"node_id":"MDQ6VXNlcjEzNDAyNTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13402544?v=4","gravatar_id":"","url":"https://api.github.com/users/asamisellah","html_url":"https://github.com/asamisellah","followers_url":"https://api.github.com/users/asamisellah/followers","following_url":"https://api.github.com/users/asamisellah/following{/other_user}","gists_url":"https://api.github.com/users/asamisellah/gists{/gist_id}","starred_url":"https://api.github.com/users/asamisellah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamisellah/subscriptions","organizations_url":"https://api.github.com/users/asamisellah/orgs","repos_url":"https://api.github.com/users/asamisellah/repos","events_url":"https://api.github.com/users/asamisellah/events{/privacy}","received_events_url":"https://api.github.com/users/asamisellah/received_events","type":"User","site_admin":false},"labels":[{"id":1142859245,"node_id":"MDU6TGFiZWwxMTQyODU5MjQ1","url":"https://api.github.com/repos/andela/travel_tool_back/labels/TC/TTL%20Review","name":"TC/TTL Review","color":"e8cb96","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T13:06:21Z","updated_at":"2018-12-13T15:49:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/andela/travel_tool_back/pulls/214","html_url":"https://github.com/andela/travel_tool_back/pull/214","diff_url":"https://github.com/andela/travel_tool_back/pull/214.diff","patch_url":"https://github.com/andela/travel_tool_back/pull/214.patch"},"body":"#### What does this PR do?\r\nCreate seeders to be used for end 2 end tests\r\n\r\n#### Description of Task to be completed?\r\n- Create user seeder\r\n- Create role seeder\r\n- Create user-role seeder\r\n\r\n#### How should this be manually tested?\r\n- Clone the Travela backend repo ```git clone https://github.com/andela/travel_tool_back.git```\r\n- Open the project in your text editor\r\n- Checkout to this branch ```git checkout ch-create-e2e-seeders-162636597```\r\n- Run the command below on your terminal to rollback, migrate and seed e2e data to your database\r\n```yarn db:rollback && yarn db:migrate && yarn db:seed:e2e```\r\n- Check your database to confirm that the user table, roles table, requests table, and user-roles tables have been populated with data.\r\n\r\n\r\n#### Any background context you want to provide?\r\nNone\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#162636597](https://www.pivotaltracker.com/n/projects/2184887/stories/162636597)\r\n\r\n#### Screenshots (if appropriate)\r\nN/A\r\n\r\n#### Questions:\r\nN/A\r\n"},"comment":{"url":"https://api.github.com/repos/andela/travel_tool_back/issues/comments/447017153","html_url":"https://github.com/andela/travel_tool_back/pull/214#issuecomment-447017153","issue_url":"https://api.github.com/repos/andela/travel_tool_back/issues/214","id":447017153,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzAxNzE1Mw==","user":{"login":"asamisellah","id":13402544,"node_id":"MDQ6VXNlcjEzNDAyNTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13402544?v=4","gravatar_id":"","url":"https://api.github.com/users/asamisellah","html_url":"https://github.com/asamisellah","followers_url":"https://api.github.com/users/asamisellah/followers","following_url":"https://api.github.com/users/asamisellah/following{/other_user}","gists_url":"https://api.github.com/users/asamisellah/gists{/gist_id}","starred_url":"https://api.github.com/users/asamisellah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamisellah/subscriptions","organizations_url":"https://api.github.com/users/asamisellah/orgs","repos_url":"https://api.github.com/users/asamisellah/repos","events_url":"https://api.github.com/users/asamisellah/events{/privacy}","received_events_url":"https://api.github.com/users/asamisellah/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T15:49:16Z","updated_at":"2018-12-13T15:49:16Z","author_association":"CONTRIBUTOR","body":"@ezrqnkemboi  We have a seeder for the requests"}}
{"actor":{"display_login":"asamisellah"}}