Skip to content

database/connections/test: Simplify NewTestDB

Administrator 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