diff --git a/tests/integration/test-integration.el b/tests/integration/test-integration.el index f97b071..ccb8ab8 100644 --- a/tests/integration/test-integration.el +++ b/tests/integration/test-integration.el @@ -23,7 +23,6 @@ (async-wait (kele--cache-update kele--global-discovery-cache))) (it "errors if namespace filtering requested for non-namespaced resource" (expect (kele--fetch-resource-names (kele--gvk-create - :group nil :version "v1" :kind "namespaces") :context "kind-kele-test-cluster0" @@ -31,7 +30,6 @@ :to-throw 'user-error)) (it "fetches core API names" (expect (kele--fetch-resource-names (kele--gvk-create - :group nil :version "v1" :kind "namespaces") :context "kind-kele-test-cluster0") diff --git a/tests/unit/test-kele.el b/tests/unit/test-kele.el index abdcb77..589ceb8 100644 --- a/tests/unit/test-kele.el +++ b/tests/unit/test-kele.el @@ -670,15 +670,10 @@ metadata: (describe "kele--gvk" (describe "kele--string" (it "formats w/o group" - (expect (kele--string (kele--gvk-create - :group nil - :version "v1" - :kind "Pod")) + (expect (kele--string (kele--gvk-create :version "v1" :kind "Pod")) :to-equal "v1.Pod")) (it "formats w/ group" - (expect (kele--string (kele--gvk-create :group "group" - :version "v1" - :kind "Pod")) + (expect (kele--string (kele--gvk-create :group "group" :version "v1" :kind "Pod")) :to-equal "group/v1.Pod"))) (describe "kele--gv-string" (it "properly handles 'core API', i.e. nil group"