package sigmasms import ( "log" "os" "testing" ) func loadToken(t *testing.T) string { data, err := os.ReadFile("./token.test") if err != nil { t.Fatalf("test token load error: %v", err) } return string(data) } func TestFlashCall(t *testing.T) { token := loadToken(t) log.Println(token) } func TestSMS(t *testing.T) { token := loadToken(t) SendSMS( token, "+79857770038", "NG.Market", "Привет", ) }