remove Name from influxdb unit test

This commit is contained in:
Cameron Sparr 2015-12-18 16:39:23 -07:00
parent 0571eecb0c
commit f607074899
1 changed files with 2 additions and 3 deletions

View File

@ -65,7 +65,6 @@ func TestBasic(t *testing.T) {
defer fakeServer.Close()
plugin := &influxdb.InfluxDB{
Name: "test",
URLs: []string{fakeServer.URL + "/endpoint"},
}
@ -74,7 +73,7 @@ func TestBasic(t *testing.T) {
require.Len(t, acc.Points, 2)
require.NoError(t, acc.ValidateTaggedFieldsValue(
"test_foo",
"foo",
map[string]interface{}{
// JSON will truncate floats to integer representations.
// Since there's no distinction in JSON, we can't assume it's an int.
@ -89,7 +88,7 @@ func TestBasic(t *testing.T) {
},
))
require.NoError(t, acc.ValidateTaggedFieldsValue(
"test_bar",
"bar",
map[string]interface{}{
"x": "x",
},