From 4edf30cda0511f071e9455a7a614bce1cf51b47d Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 20 Oct 2026 22:06:30 +0000 Subject: [PATCH] test(addons): expect Studio and Talk in the official index The official index now lists six add-ons. Update the test that decodes it so it accepts Studio and Talk. Assisted-by: Claude Code:claude-sonnet-5-5 go Signed-off-by: Ettore Di Giacinto --- core/services/addons/catalog/official_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/services/addons/catalog/official_test.go b/core/services/addons/catalog/official_test.go index 84a73dc26..7e0e4f31d 100644 --- a/core/services/addons/catalog/official_test.go +++ b/core/services/addons/catalog/official_test.go @@ -66,7 +66,7 @@ var _ = Describe("official library default", func() { }) var _ = Describe("official library index", func() { - It("lists the four first-party add-ons in the library format", func() { + It("lists the six first-party add-ons in the library format", func() { data, e := os.ReadFile("../../../../gallery/addons/index.yaml") Expect(e).NotTo(HaveOccurred()) releases, e := DecodeIndex(data) @@ -78,6 +78,6 @@ var _ = Describe("official library index", func() { Expect(versionPattern.MatchString(r.Version)).To(BeTrue(), r.AddonID) Expect(r.Artifact).To(HavePrefix("oci://"), r.AddonID) } - Expect(ids).To(ConsistOf("fine-tuning", "quantization", "voice", "face")) + Expect(ids).To(ConsistOf("fine-tuning", "quantization", "voice", "face", "studio", "talk")) }) })