Commit f9c0b02c authored by Brendan Melville's avatar Brendan Melville

Adding the rest of validations for manager expand test.

parent 0343be6a
...@@ -400,8 +400,12 @@ func TestExpand(t *testing.T) { ...@@ -400,8 +400,12 @@ func TestExpand(t *testing.T) {
t.Error("Failed to expand template into manifest.") t.Error("Failed to expand template into manifest.")
} }
if m.InputConfig != nil { if m.Name != "" {
t.Errorf("Input config not nil: %v", *m) t.Errorf("Name was not empty: %v", *m)
}
if m.Deployment != "" {
t.Errorf("Deployment was not empty: %v", *m)
} }
if m.InputConfig != nil { if m.InputConfig != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment