(t *testing.T)
| 247 | } |
| 248 | |
| 249 | func TestCreatesDeployment(t *testing.T) { |
| 250 | f := newFixture(t) |
| 251 | foo := newFoo("test", ptr.To[int32](1)) |
| 252 | _, ctx := ktesting.NewTestContext(t) |
| 253 | |
| 254 | f.fooLister = append(f.fooLister, foo) |
| 255 | f.objects = append(f.objects, foo) |
| 256 | |
| 257 | expDeployment := newDeployment(foo) |
| 258 | f.expectCreateDeploymentAction(expDeployment) |
| 259 | f.expectUpdateFooStatusAction(foo) |
| 260 | |
| 261 | f.run(ctx, getRef(foo, t)) |
| 262 | } |
| 263 | |
| 264 | func TestDoNothing(t *testing.T) { |
| 265 | f := newFixture(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…