From 4ae3052684dcef95b779612d0ab5dd00f73a07df Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Sat, 15 Aug 2015 16:03:24 +0100 Subject: [PATCH] Getting tests to use dummy client --- test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test.go b/test.go index 0e203c8..7365005 100644 --- a/test.go +++ b/test.go @@ -28,13 +28,14 @@ func Test(password, ip, port string, accesstokens []string) { } func (t TestSettings) createClient(uname string) *gumble.Client { - client := gumble.NewClient(&gumble.Config{ + config := gumble.Config{ Username: uname, Password: t.password, Address: t.ip + ":" + t.port, Tokens: t.accesstokens, - }) - gumbleutil.CertificateLockFile(client, fmt.Sprintf("%s/.mumbledj/cert.lock", dj.homeDir)) + } + config.TLSConfig.InsecureSkipVerify = true + client := gumble.NewClient(&config) return client }