feat: update toolchain
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"quyun/app/service/testx"
|
||||
"quyun/database"
|
||||
"quyun/database/fields"
|
||||
"quyun/database/table"
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"go.ipao.vip/atom/contracts"
|
||||
@@ -39,14 +38,14 @@ func Test_Posts(t *testing.T) {
|
||||
|
||||
func (s *PostsTestSuite) Test_Demo() {
|
||||
Convey("Test_Demo", s.T(), func() {
|
||||
database.Truncate(context.Background(), db, table.Posts.TableName())
|
||||
database.Truncate(context.Background(), db, tblPosts.TableName())
|
||||
})
|
||||
}
|
||||
|
||||
// Test_Create
|
||||
func (s *PostsTestSuite) Test_Create() {
|
||||
Convey("Test_Create", s.T(), func() {
|
||||
// database.Truncate(context.Background(), db, table.Posts.TableName())
|
||||
// database.Truncate(context.Background(), db, tblPosts.TableName())
|
||||
|
||||
post := &Posts{
|
||||
Title: "Test Post",
|
||||
|
||||
Reference in New Issue
Block a user