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 <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto committed 2026-10-20 22:06:30 +00:00
1 parent 17a27b38a3
commit 4edf30cda0
1 file changed
+2 -2
@@ -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"))
})
})