From 2ebe4aea8dfaadc3d97e06e530ee8130abb820f4 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 16 Dec 2024 22:09:12 +0100 Subject: [PATCH] chore(tests): stabilize test Signed-off-by: Ettore Di Giacinto --- core/http/app_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/app_test.go b/core/http/app_test.go index 34ebacf74408..7c57ba21a701 100644 --- a/core/http/app_test.go +++ b/core/http/app_test.go @@ -704,7 +704,7 @@ var _ = Describe("API test", func() { Expect(err).ToNot(HaveOccurred(), fmt.Sprint(resp)) Expect(resp.StatusCode).To(Equal(200), fmt.Sprint(string(dat))) - Expect(resp.Header.Get("Content-Type")).To(Equal("audio/x-wav")) + Expect(resp.Header.Get("Content-Type")).To(Or(Equal("audio/x-wav"), Equal("audio/vnd.wave"))) }) It("installs and is capable to generate images", Label("stablediffusion"), func() { if runtime.GOOS != "linux" {