This commit is contained in:
yanghao05
2025-04-18 20:46:17 +08:00
parent a1537f9146
commit 4abd548325
8 changed files with 35 additions and 298 deletions

View File

@@ -58,11 +58,11 @@ func (s *PostsTestSuite) Test_BatchInsert() {
Tags: fields.ToJson([]string{"tag1", "tag2", "tag3"}),
Assets: fields.ToJson([]fields.MediaAsset{
{
Type: fields.MediaAssetTypeAudio,
Type: "video/mp4",
Media: rand.Int63n(10000),
},
{
Type: fields.MediaAssetTypeVideo,
Type: "video/mp4",
Media: rand.Int63n(10000),
},
}),