feat: update
This commit is contained in:
@@ -51,9 +51,9 @@ func (s *UsersTestSuite) Test_Create() {
|
||||
Balance: 1000,
|
||||
}
|
||||
|
||||
u, err := user.Create(context.TODO())
|
||||
err := user.Create(context.TODO())
|
||||
So(err, ShouldBeNil)
|
||||
So(u, ShouldNotBeNil)
|
||||
So(u.ID, ShouldNotBeZeroValue)
|
||||
So(user, ShouldNotBeNil)
|
||||
So(user.ID, ShouldNotBeZeroValue)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user