Closed begedin closed 6 years ago
@begedin I'd like to attempt getting this one done, Will get to you with questions
@zacck You might need to work off of #1370 since that one has some pretty major changes to the underlying code.
@begedin awesome will look at it
Problem
GitHub.Sync.installation_repositories_event/1
is currently completely untested. Since we want to unit test it's individual elements to, it should suffice to test each possible outcome of the transaction performed by the tests, as defined byGitHub.Sync.installation_repositories_event_outcome()
Subtasks
{:ok, list(GithubRepo.t())}
outcome{:error, :unmatched_installation}
outcome{:error, :validation_error_on_syncing_repos, Changeset.t()}
outcome{:error, :unexpected_transaction_outcome, any}
outcome