mirror of
https://github.com/mudler/LocalAI.git
synced 2025-12-30 14:10:24 -06:00
fix: adapt test to error changes
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
@@ -26,7 +26,7 @@ var _ = Describe("utils/base64 tests", func() {
|
||||
b64, err := GetContentURIAsBase64(input)
|
||||
Expect(b64).To(Equal(""))
|
||||
Expect(err).ToNot(BeNil())
|
||||
Expect(err).To(MatchError("not valid string"))
|
||||
Expect(err).To(MatchError("not valid base64 data type string"))
|
||||
})
|
||||
It("GetImageURLAsBase64 can actually download images and calculates something", func() {
|
||||
// This test doesn't actually _check_ the results at this time, which is bad, but there wasn't a test at all before...
|
||||
|
||||
Reference in New Issue
Block a user