Manager: update tests for inclusion of job name in job updates
This commit is contained in:
parent
3078d22836
commit
89e130c04f
@ -62,6 +62,7 @@ func TestSubmitJob(t *testing.T) {
|
||||
// Expect the new job to be broadcast.
|
||||
jobUpdate := api.JobUpdate{
|
||||
Id: dbJob.UUID,
|
||||
Name: &dbJob.Name,
|
||||
Updated: dbJob.UpdatedAt,
|
||||
Status: dbJob.Status,
|
||||
}
|
||||
|
@ -288,6 +288,7 @@ func (m *StateMachineMocks) expectBroadcastJobChange(
|
||||
) *gomock.Call {
|
||||
expectUpdate := api.JobUpdate{
|
||||
Id: job.UUID,
|
||||
Name: &job.Name,
|
||||
Updated: job.UpdatedAt,
|
||||
PreviousStatus: &fromStatus,
|
||||
Status: toStatus,
|
||||
|
Loading…
x
Reference in New Issue
Block a user