Manager: fix broken unit test

This commit is contained in:
Sybren A. Stüvel 2022-04-15 14:37:41 +02:00
parent 13e3607571
commit de3c4af8cb

View File

@ -63,8 +63,10 @@ func TestSubmitJob(t *testing.T) {
jobUpdate := api.JobUpdate{
Id: dbJob.UUID,
Name: &dbJob.Name,
Updated: dbJob.UpdatedAt,
Priority: dbJob.Priority,
Status: dbJob.Status,
Type: dbJob.JobType,
Updated: dbJob.UpdatedAt,
}
mf.broadcaster.EXPECT().BroadcastNewJob(jobUpdate)