CheqBooq/storage/storage_test.go

14 lines
210 B
Go
Executable File

package storage
import "testing"
func testStorage(t *testing.T) (*Storage, func()) {
m, can := testMongoNew(t)
return &Storage{m}, can
}
func TestStorage(t *testing.T) {
_, can := testStorage(t)
can()
}