From dee82fcd4d3c388cc03751fa1b3e8916e0212784 Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Tue, 13 Mar 2018 21:39:05 -0700 Subject: [PATCH] Update tests --- bolt/servers_test.go | 30 ++++++++++++++++-------------- integrations/server_test.go | 6 ++++-- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/bolt/servers_test.go b/bolt/servers_test.go index 7f8b8e201e..a32b6531d9 100644 --- a/bolt/servers_test.go +++ b/bolt/servers_test.go @@ -20,22 +20,24 @@ func TestServerStore(t *testing.T) { srcs := []chronograf.Server{ chronograf.Server{ - Name: "Of Truth", - SrcID: 10, - Username: "marty", - Password: "I❤️ jennifer parker", - URL: "toyota-hilux.lyon-estates.local", - Active: false, - Organization: "133", + Name: "Of Truth", + SrcID: 10, + Username: "marty", + Password: "I❤️ jennifer parker", + URL: "toyota-hilux.lyon-estates.local", + Active: false, + Organization: "133", + InsecureSkipVerify: true, }, chronograf.Server{ - Name: "HipToBeSquare", - SrcID: 12, - Username: "calvinklein", - Password: "chuck b3rry", - URL: "toyota-hilux.lyon-estates.local", - Active: false, - Organization: "133", + Name: "HipToBeSquare", + SrcID: 12, + Username: "calvinklein", + Password: "chuck b3rry", + URL: "toyota-hilux.lyon-estates.local", + Active: false, + Organization: "133", + InsecureSkipVerify: false, }, } diff --git a/integrations/server_test.go b/integrations/server_test.go index 6b124afdcb..18f4269e82 100644 --- a/integrations/server_test.go +++ b/integrations/server_test.go @@ -164,7 +164,8 @@ func TestServer(t *testing.T) { "id": "5000", "name": "Kapa 1", "url": "http://localhost:9092", - "active": true, + "active": true, + "insecureSkipVerify": false, "links": { "proxy": "/chronograf/v1/sources/5000/kapacitors/5000/proxy", "self": "/chronograf/v1/sources/5000/kapacitors/5000", @@ -222,7 +223,8 @@ func TestServer(t *testing.T) { "id": "5000", "name": "Kapa 1", "url": "http://localhost:9092", - "active": true, + "active": true, + "insecureSkipVerify": false, "links": { "proxy": "/chronograf/v1/sources/5000/kapacitors/5000/proxy", "self": "/chronograf/v1/sources/5000/kapacitors/5000",