You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
385 B
19 lines
385 B
package service |
|
|
|
import ( |
|
"context" |
|
"fmt" |
|
"testing" |
|
|
|
"go-common/app/admin/main/workflow/model" |
|
|
|
"github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestLastLog(t *testing.T) { |
|
convey.Convey("LastLog", t, func() { |
|
logs, err := s.LastLog(context.Background(), []int64{2038}, []int{model.WLogModuleGroup}) |
|
convey.So(err, convey.ShouldBeNil) |
|
fmt.Printf("%+v", logs[2038]) |
|
}) |
|
}
|
|
|