Update tests
parent
d896205f97
commit
dee82fcd4d
|
@ -20,22 +20,24 @@ func TestServerStore(t *testing.T) {
|
||||||
|
|
||||||
srcs := []chronograf.Server{
|
srcs := []chronograf.Server{
|
||||||
chronograf.Server{
|
chronograf.Server{
|
||||||
Name: "Of Truth",
|
Name: "Of Truth",
|
||||||
SrcID: 10,
|
SrcID: 10,
|
||||||
Username: "marty",
|
Username: "marty",
|
||||||
Password: "I❤️ jennifer parker",
|
Password: "I❤️ jennifer parker",
|
||||||
URL: "toyota-hilux.lyon-estates.local",
|
URL: "toyota-hilux.lyon-estates.local",
|
||||||
Active: false,
|
Active: false,
|
||||||
Organization: "133",
|
Organization: "133",
|
||||||
|
InsecureSkipVerify: true,
|
||||||
},
|
},
|
||||||
chronograf.Server{
|
chronograf.Server{
|
||||||
Name: "HipToBeSquare",
|
Name: "HipToBeSquare",
|
||||||
SrcID: 12,
|
SrcID: 12,
|
||||||
Username: "calvinklein",
|
Username: "calvinklein",
|
||||||
Password: "chuck b3rry",
|
Password: "chuck b3rry",
|
||||||
URL: "toyota-hilux.lyon-estates.local",
|
URL: "toyota-hilux.lyon-estates.local",
|
||||||
Active: false,
|
Active: false,
|
||||||
Organization: "133",
|
Organization: "133",
|
||||||
|
InsecureSkipVerify: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -164,7 +164,8 @@ func TestServer(t *testing.T) {
|
||||||
"id": "5000",
|
"id": "5000",
|
||||||
"name": "Kapa 1",
|
"name": "Kapa 1",
|
||||||
"url": "http://localhost:9092",
|
"url": "http://localhost:9092",
|
||||||
"active": true,
|
"active": true,
|
||||||
|
"insecureSkipVerify": false,
|
||||||
"links": {
|
"links": {
|
||||||
"proxy": "/chronograf/v1/sources/5000/kapacitors/5000/proxy",
|
"proxy": "/chronograf/v1/sources/5000/kapacitors/5000/proxy",
|
||||||
"self": "/chronograf/v1/sources/5000/kapacitors/5000",
|
"self": "/chronograf/v1/sources/5000/kapacitors/5000",
|
||||||
|
@ -222,7 +223,8 @@ func TestServer(t *testing.T) {
|
||||||
"id": "5000",
|
"id": "5000",
|
||||||
"name": "Kapa 1",
|
"name": "Kapa 1",
|
||||||
"url": "http://localhost:9092",
|
"url": "http://localhost:9092",
|
||||||
"active": true,
|
"active": true,
|
||||||
|
"insecureSkipVerify": false,
|
||||||
"links": {
|
"links": {
|
||||||
"proxy": "/chronograf/v1/sources/5000/kapacitors/5000/proxy",
|
"proxy": "/chronograf/v1/sources/5000/kapacitors/5000/proxy",
|
||||||
"self": "/chronograf/v1/sources/5000/kapacitors/5000",
|
"self": "/chronograf/v1/sources/5000/kapacitors/5000",
|
||||||
|
|
Loading…
Reference in New Issue