github.com/weplanx/server@v0.2.6-0.20240318110640-f7e75155779a/model/picture_test.go (about)

     1  package model_test
     2  
     3  import (
     4  	"context"
     5  	"github.com/stretchr/testify/assert"
     6  	"github.com/weplanx/server/model"
     7  	"testing"
     8  )
     9  
    10  func TestSetPictures(t *testing.T) {
    11  	ctx := context.TODO()
    12  	err := model.SetPictures(ctx, x.Db)
    13  	assert.NoError(t, err)
    14  }