mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
make tests pass with "go test -count n" with n > 1
by closing initialized resources during tests.
This commit is contained in:
@ -46,6 +46,7 @@ func TestSendReports(t *testing.T) {
|
||||
|
||||
err := tlsrptdb.Init()
|
||||
tcheckf(t, err, "init database")
|
||||
defer tlsrptdb.Close()
|
||||
|
||||
db := tlsrptdb.ResultDB
|
||||
|
||||
|
Reference in New Issue
Block a user