remove mapper dependency - PrintSuccess

This commit is contained in:
juanvallejo
2018-02-01 18:59:11 -05:00
parent 06472a054a
commit beb5ea641a
67 changed files with 156 additions and 169 deletions

View File

@@ -50,7 +50,7 @@ func TestCreateServiceAccount(t *testing.T) {
cmd := NewCmdCreateServiceAccount(f, buf)
cmd.Flags().Set("output", "name")
cmd.Run(cmd, []string{serviceAccountObject.Name})
expectedOutput := "serviceaccount/" + serviceAccountObject.Name + "\n"
expectedOutput := "serviceaccounts/" + serviceAccountObject.Name + "\n"
if buf.String() != expectedOutput {
t.Errorf("expected output: %s, but got: %s", expectedOutput, buf.String())
}