(t *testing.T)
| 171 | } |
| 172 | |
| 173 | func TestDeleteHandler(t *testing.T) { |
| 174 | ctrl, _ := newTestController() |
| 175 | |
| 176 | event := workItem{ |
| 177 | name: "foo", |
| 178 | namespace: "foo", |
| 179 | snapshotGroup: newSnapshotGroup("foo", "default"), |
| 180 | task: deleteTask, |
| 181 | } |
| 182 | err := ctrl.syncHandler(event) |
| 183 | assert.NoError(t, err) |
| 184 | } |
| 185 | |
| 186 | func TestPreexistingPVC(t *testing.T) { |
| 187 | ctrl, client := newTestController() |
nothing calls this directly
no test coverage detected