Skip to content

Commit

Permalink
Update test helpers to use Objection
Browse files Browse the repository at this point in the history
> 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
Cruikshanks committed Dec 22, 2022
1 parent a329af5 commit b52557c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b52557c

Please sign in to comment.