package database import ( "testing" "github.com/stretchr/testify/assert" ) func TestCreateDB(t *testing.T) { t.Setenv("DB_HOST", "") assert.Panics(t, func() { createDB() }) }