command/remote-config: failing tests

This commit is contained in:
Mitchell Hashimoto 2015-03-26 18:14:24 -07:00
parent 37d29c6994
commit da7f307e56
1 changed files with 3 additions and 0 deletions

View File

@ -245,6 +245,7 @@ func TestRemoteConfig_initBlank(t *testing.T) {
"-backend=http", "-backend=http",
"-backend-config", "address=http://example.com", "-backend-config", "address=http://example.com",
"-backend-config", "access_token=test", "-backend-config", "access_token=test",
"-pull=false",
} }
if code := c.Run(args); code != 0 { if code := c.Run(args); code != 0 {
t.Fatalf("bad: \n%s", ui.ErrorWriter.String()) t.Fatalf("bad: \n%s", ui.ErrorWriter.String())
@ -321,6 +322,7 @@ func TestRemoteConfig_updateRemote(t *testing.T) {
"-backend=http", "-backend=http",
"-backend-config", "address=http://example.com", "-backend-config", "address=http://example.com",
"-backend-config", "access_token=test", "-backend-config", "access_token=test",
"-pull=false",
} }
if code := c.Run(args); code != 0 { if code := c.Run(args); code != 0 {
t.Fatalf("bad: \n%s", ui.ErrorWriter.String()) t.Fatalf("bad: \n%s", ui.ErrorWriter.String())
@ -376,6 +378,7 @@ func TestRemoteConfig_enableRemote(t *testing.T) {
"-backend=http", "-backend=http",
"-backend-config", "address=http://example.com", "-backend-config", "address=http://example.com",
"-backend-config", "access_token=test", "-backend-config", "access_token=test",
"-pull=false",
} }
if code := c.Run(args); code != 0 { if code := c.Run(args); code != 0 {
t.Fatalf("bad: \n%s", ui.ErrorWriter.String()) t.Fatalf("bad: \n%s", ui.ErrorWriter.String())