This pull request begins adding integration tests for app/Jobs/RockTheVoteImportRockTheVoteRecord, testing:
a user and post should be created if user not found
a user should not be created if user found, post should be created if post not found
existing user's post should not be updated if exists with completed status
How should this be reviewed?
👀
Any background context you want to provide?
There's a few different branches to test in this import, e.g. when to update existing users or posts. Opening this as is for now to help keep this reviewable.
What's this PR do?
This pull request begins adding integration tests for
app/Jobs/RockTheVoteImportRockTheVoteRecord
, testing:How should this be reviewed?
👀
Any background context you want to provide?
There's a few different branches to test in this import, e.g. when to update existing users or posts. Opening this as is for now to help keep this reviewable.
Relevant tickets
References Pivotal #170775705.
Checklist