Pulse/internal/api/main_test.go
2026-04-01 16:36:44 +01:00

16 lines
295 B
Go

package api
import (
"os"
"strconv"
"testing"
"golang.org/x/crypto/bcrypt"
)
func TestMain(m *testing.M) {
_ = os.Setenv("PULSE_TEST_BCRYPT_COST", strconv.Itoa(bcrypt.MinCost))
_ = os.Setenv("PULSE_UPDATE_SERVER", "http://127.0.0.1:1")
allowLoopbackSSOFetch = true
os.Exit(m.Run())
}