Manager: Fix unit test
This commit is contained in:
parent
68cd14db2d
commit
dd3f99ebaa
@ -42,12 +42,14 @@ func TestFetchWorkers(t *testing.T) {
|
|||||||
Nickname: worker1.Name,
|
Nickname: worker1.Name,
|
||||||
Status: worker1.Status,
|
Status: worker1.Status,
|
||||||
StatusRequested: nil,
|
StatusRequested: nil,
|
||||||
|
Version: worker1.Software,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Id: worker2.UUID,
|
Id: worker2.UUID,
|
||||||
Nickname: worker2.Name,
|
Nickname: worker2.Name,
|
||||||
Status: worker2.Status,
|
Status: worker2.Status,
|
||||||
StatusRequested: &worker2.StatusRequested,
|
StatusRequested: &worker2.StatusRequested,
|
||||||
|
Version: worker2.Software,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user