Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement-Jean committed Nov 14, 2023
1 parent e00aa25 commit e0146e6
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions blog/server/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestCreate(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Success", func(mt *mtest.T) {
collection = mt.Coll
Expand Down Expand Up @@ -58,7 +57,6 @@ func TestCreateError(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Error", func(mt *mtest.T) {
collection = mt.Coll
Expand Down
3 changes: 0 additions & 3 deletions blog/server/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestDelete(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Success", func(mt *mtest.T) {
collection = mt.Coll
Expand Down Expand Up @@ -59,7 +58,6 @@ func TestDeleteCountZeroError(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Error", func(mt *mtest.T) {
collection = mt.Coll
Expand Down Expand Up @@ -102,7 +100,6 @@ func TestDeleteOneError(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Error", func(mt *mtest.T) {
collection = mt.Coll
Expand Down
1 change: 0 additions & 1 deletion blog/server/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestList(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Success", func(mt *mtest.T) {
collection = mt.Coll
Expand Down
2 changes: 0 additions & 2 deletions blog/server/read_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestRead(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Success", func(mt *mtest.T) {
collection = mt.Coll
Expand Down Expand Up @@ -67,7 +66,6 @@ func TestReadError(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Error", func(mt *mtest.T) {
collection = mt.Coll
Expand Down
3 changes: 0 additions & 3 deletions blog/server/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestUpdate(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Success", func(mt *mtest.T) {
collection = mt.Coll
Expand Down Expand Up @@ -61,7 +60,6 @@ func TestUpdateNotFound(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Success", func(mt *mtest.T) {
collection = mt.Coll
Expand Down Expand Up @@ -106,7 +104,6 @@ func TestUpdateError(t *testing.T) {
defer conn.Close()
c := pb.NewBlogServiceClient(conn)
mt := mtest.New(t, mtest.NewOptions().ClientType(mtest.Mock))
defer mt.Close()

mt.Run("Error", func(mt *mtest.T) {
collection = mt.Coll
Expand Down

0 comments on commit e0146e6

Please sign in to comment.