mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-07 00:37:36 +00:00
16 lines
295 B
Go
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())
|
|
}
|