Commit e017436b authored by Antoine Pelisse's avatar Antoine Pelisse

Fix missing pdb in test

parent e1f05269
......@@ -251,7 +251,7 @@ func TestEvictionDryRun(t *testing.T) {
t.Error(err)
}
client := fake.NewSimpleClientset()
client := fake.NewSimpleClientset(tc.pdbs...)
evictionRest := newEvictionStorage(storage.Store, client.PolicyV1beta1())
eviction := &policy.Eviction{ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "default"}, DeleteOptions: tc.evictionOptions}
_, err := evictionRest.Create(testContext, eviction, nil, tc.requestOptions)
......
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