trepa/internal/core/helpers_test.go
qpismont 997a79fcbe
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
fix unit tests
2025-02-26 19:47:39 +00:00

15 lines
211 B
Go

package core
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestMustGetEnvVar(t *testing.T) {
LoadEnvVars("../../.env")
assert.NotPanics(t, func() {
MustGetEnvVar("TEST_DB_HOST")
})
}