mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 07:30:25 +00:00
MG-2193 - Generate mocks for proto interface (#2324)
Signed-off-by: JeffMboya <jangina.mboya@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user