From 1e98b9994985b9bbce725602d43d161700cebf39 Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Wed, 30 Aug 2023 14:33:55 +0200 Subject: [PATCH] Fix unit tests --- pkg/apiserver-impl/devstate/components_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/apiserver-impl/devstate/components_test.go b/pkg/apiserver-impl/devstate/components_test.go index 46c1df4845..a75df1865b 100644 --- a/pkg/apiserver-impl/devstate/components_test.go +++ b/pkg/apiserver-impl/devstate/components_test.go @@ -359,6 +359,7 @@ schemaVersion: 2.2.0 BuildContext: "path/to/context", RootRequired: true, Uri: "an-uri", + Orphan: true, }, }, Resources: []Resource{}, @@ -511,8 +512,9 @@ schemaVersion: 2.2.0 Images: []Image{}, Resources: []Resource{ { - Name: "a-name", - Uri: "an-uri", + Name: "a-name", + Uri: "an-uri", + Orphan: true, }, }, Volumes: []Volume{}, @@ -544,6 +546,7 @@ schemaVersion: 2.2.0 { Name: "a-name", Inlined: "inline resource...", + Orphan: true, }, }, Volumes: []Volume{},