{"action":"opened","issue":{"url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/1858","labels_url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/1858/labels{/name}","comments_url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/1858/comments","events_url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/1858/events","html_url":"https://github.com/buttonmen-dev/buttonmen/issues/1858","id":122267852,"number":1858,"title":"all API tests should work the way the loadGameData test works","user":{"login":"cgolubi1","id":2898207,"avatar_url":"https://avatars.githubusercontent.com/u/2898207?v=3","gravatar_id":"","url":"https://api.github.com/users/cgolubi1","html_url":"https://github.com/cgolubi1","followers_url":"https://api.github.com/users/cgolubi1/followers","following_url":"https://api.github.com/users/cgolubi1/following{/other_user}","gists_url":"https://api.github.com/users/cgolubi1/gists{/gist_id}","starred_url":"https://api.github.com/users/cgolubi1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgolubi1/subscriptions","organizations_url":"https://api.github.com/users/cgolubi1/orgs","repos_url":"https://api.github.com/users/cgolubi1/repos","events_url":"https://api.github.com/users/cgolubi1/events{/privacy}","received_events_url":"https://api.github.com/users/cgolubi1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-15T13:04:05Z","updated_at":"2015-12-15T13:04:05Z","closed_at":null,"body":"The loadGameData API tests work by having responderTest run live tests against the backend and cache JSON response files, which are then passed by dummy_responder.php to the UI when UI testing is called for.\r\n\r\nAll other API tests should work the same way, to keep the test response data which is being used by the frontend in sync with what backend tests show the API is currently providing."}}