From 978f08f574b838d52226f4d2a591675c8bf4b2e2 Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 14 Apr 2025 12:25:09 +0100 Subject: [PATCH] fix test --- internal/api/client/media/mediacreate_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/client/media/mediacreate_test.go b/internal/api/client/media/mediacreate_test.go index fabff595b..6f7bf781f 100644 --- a/internal/api/client/media/mediacreate_test.go +++ b/internal/api/client/media/mediacreate_test.go @@ -297,7 +297,7 @@ func (suite *MediaCreateTestSuite) TestMediaCreateSuccessfulV2() { }, *attachmentReply.Meta) suite.Equal("LiB|W-#6RQR.~qvzRjWF_3rqV@a$", *attachmentReply.Blurhash) suite.NotEmpty(attachmentReply.ID) - suite.Nil(attachmentReply.URL) + suite.NotEmpty(attachmentReply.URL) suite.NotEmpty(attachmentReply.PreviewURL) suite.Equal(len(storageKeysBeforeRequest)+2, len(storageKeysAfterRequest)) // 2 images should be added to storage: the original and the thumbnail }