(t *testing.T)
| 33 | } |
| 34 | |
| 35 | func TestBaseNilObjects(t *testing.T) { |
| 36 | objects := []deploy.KubeObject{ |
| 37 | createSecret("test"), |
| 38 | nil, // illegal |
| 39 | } |
| 40 | _, err := newBase(EntityPod, kube.ObjectMeta{}, "source", objects) |
| 41 | assert.Error(t, err, "should not be able to create base with nil components") |
| 42 | } |
| 43 | |
| 44 | func TestBaseNoDefaults(t *testing.T) { |
| 45 | defaults := kube.ObjectMeta{} |
nothing calls this directly
no test coverage detected