Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test helpers to use Objection
> This is in support of [Improve model tests](#71) Currently, our test helpers create records using Knew directly. This is a result of the initial helpers being added before we implemented [Objection.js](https://vincit.github.io/objection.js/). We want to expand some of our tests plus there is an argument to be consistent in how we interact with the tables in our DB. So, this change updates the helpers to do things via Objection and fixes any tests we break as a result.
- Loading branch information