Closed laceysanderson closed 1 year ago
Code Climate has analyzed commit 5bc42d11 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 34.3% (0.0% change).
View more on Code Climate.
Merging without review since it's a small test-only change.
See Issue #312
tl;dr;
We were seeing a LogicException regarding the database connection when prepare tests failed:
It turns out this was only happening if a test failed within the helper function runPrepareStepAssertions(). It was due to passing a connection object as a parameter to the helper function during testing 🙈 Switching to instead pass the schema name and then re-setup the connection fixed the bug.