Skip to content

database/connections/test: Simplify NewTestDB

Warren Gifford requested to merge ef/simplify-new-test-db into main

Created by: efritz

We used to return a wrapper around db.Close(), which we only used in order to close golang-migrate wrappers separately from the connection.

This PR removes that wrapper and calls db.Close() directly in the consumer.

Merge request reports

Loading