Remove from command/agent/config_test.go

This commit is contained in:
Shawn Cook 2015-08-18 10:42:25 -07:00
parent 7ce8d3ec13
commit 3a740ac07b
1 changed files with 0 additions and 11 deletions

View File

@ -683,19 +683,9 @@ func TestDecodeConfig(t *testing.T) {
t.Fatalf("err: %s", err)
}
// EnableTagDrift
input = `{"enable_tag_drift": true}`
config, err = DecodeConfig(bytes.NewReader([]byte(input)))
if err != nil {
t.Fatalf("err: %s", err)
}
if !config.DisableUpdateCheck {
t.Fatalf("bad: %#v", config)
}
if !config.EnableTagDrift {
t.Fatalf("bad: %#v", config)
}
if !config.DisableAnonymousSignature {
t.Fatalf("bad: %#v", config)
}
@ -1199,7 +1189,6 @@ func TestMergeConfig(t *testing.T) {
StatsitePrefix: "stats_prefix",
StatsdAddr: "127.0.0.1:7251",
DisableUpdateCheck: true,
EnableTagDrift: true,
DisableAnonymousSignature: true,
HTTPAPIResponseHeaders: map[string]string{
"Access-Control-Allow-Origin": "*",