Write an E2E test that sends a pull_request webhook to the server with known base/head sha values.
Implement (mock) the github comparison API call for base...head to return a diff with a post, collection, and author.
Then implement the bare minimum details for those post/collection/author sync jobs to pass.
Finally, assert that all three were created and are exposed in the content APIs. (note that these items will be noindex, so by default they won't be returned from the list routes)
Write an E2E test that sends a pull_request webhook to the server with known base/head sha values.
Implement (mock) the github comparison API call for
base...headto return a diff with a post, collection, and author.Then implement the bare minimum details for those post/collection/author sync jobs to pass.
Finally, assert that all three were created and are exposed in the
contentAPIs. (note that these items will benoindex, so by default they won't be returned from the list routes)