Cleanup testapi after it has been removed

This commit is contained in:
RainbowMango
2019-12-27 10:27:12 +08:00
parent 13133857af
commit eea91c018b
3 changed files with 2 additions and 5 deletions

View File

@@ -51,8 +51,6 @@ func TestResourceVersioner(t *testing.T) {
func TestCodec(t *testing.T) {
pod := internal.Pod{}
// We do want to use package registered rather than testapi here, because we
// want to test if the package install and package registered work as expected.
data, err := runtime.Encode(legacyscheme.Codecs.LegacyCodec(schema.GroupVersion{Group: "", Version: "v1"}), &pod)
if err != nil {
t.Fatalf("unexpected error: %v", err)