Skip to content

Commit 60e223b

Browse files
committed
Try to fix e2e tests
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 76dbb12 commit 60e223b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e-aio/e2e_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ var _ = Describe("E2E test", func() {
188188
{
189189
Type: openai.ChatMessagePartTypeImageURL,
190190
ImageURL: &openai.ChatMessageImageURL{
191-
URL: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
191+
URL: "https://picsum.photos/id/22/4434/3729",
192192
Detail: openai.ImageURLDetailLow,
193193
},
194194
},
@@ -197,7 +197,7 @@ var _ = Describe("E2E test", func() {
197197
}})
198198
Expect(err).ToNot(HaveOccurred())
199199
Expect(len(resp.Choices)).To(Equal(1), fmt.Sprint(resp))
200-
Expect(resp.Choices[0].Message.Content).To(Or(ContainSubstring("wooden"), ContainSubstring("grass")), fmt.Sprint(resp.Choices[0].Message.Content))
200+
Expect(resp.Choices[0].Message.Content).To(Or(ContainSubstring("man"), ContainSubstring("road")), fmt.Sprint(resp.Choices[0].Message.Content))
201201
})
202202
})
203203
Context("text to audio", func() {

0 commit comments

Comments
 (0)