Address comments.

This commit is contained in:
Brendan Burns
2015-08-21 14:24:16 -07:00
parent b196d0f84b
commit 855c7cedcc
9 changed files with 12 additions and 14 deletions

View File

@@ -198,7 +198,7 @@ func TestInstallThirdPartyAPIGet(t *testing.T) {
Name: "test",
},
TypeMeta: api.TypeMeta{
Kind: "foo",
Kind: "Foo",
},
SomeField: "test field",
OtherField: 10,
@@ -237,12 +237,12 @@ func TestInstallThirdPartyAPIPost(t *testing.T) {
Name: "test",
},
TypeMeta: api.TypeMeta{
Kind: "foo",
Kind: "Foo",
},
SomeField: "test field",
OtherField: 10,
}
data, err := encodeToThirdParty("test", inputObj)
data, err := json.Marshal(inputObj)
if err != nil {
t.Errorf("unexpected error: %v")
return
@@ -298,7 +298,7 @@ func TestInstallThirdPartyAPIDelete(t *testing.T) {
Name: "test",
},
TypeMeta: api.TypeMeta{
Kind: "foo",
Kind: "Foo",
},
SomeField: "test field",
OtherField: 10,