MG-2193 - Generate mocks for proto interface (#2324)

Signed-off-by: JeffMboya <jangina.mboya@gmail.com>
This commit is contained in:
JMboya
2024-07-12 11:36:12 +03:00
committed by GitHub
parent 04c3594627
commit 468362aac4
23 changed files with 1346 additions and 207 deletions
+2 -4
View File
@@ -730,10 +730,9 @@ func TestConnectThing(t *testing.T) {
wrongID := testsutil.GenerateUUID(&testing.T{})
connectedThing := c
connectedThing.State = bootstrap.Active
randomThing := c
randomThingID, err := uuid.NewV4()
randomThingID, _ := uuid.NewV4()
randomThing.ThingID = randomThingID.String()
emptyThing := c
@@ -830,10 +829,9 @@ func TestDisconnectThing(t *testing.T) {
wrongID := testsutil.GenerateUUID(&testing.T{})
connectedThing := c
connectedThing.State = bootstrap.Active
randomThing := c
randomThingID, err := uuid.NewV4()
randomThingID, _ := uuid.NewV4()
randomThing.ThingID = randomThingID.String()
emptyThing := c