diff options
Diffstat (limited to 'plugins/jobs/structs/job_test.go')
-rw-r--r-- | plugins/jobs/structs/job_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jobs/structs/job_test.go b/plugins/jobs/structs/job_test.go index e7240c6b..92f78081 100644 --- a/plugins/jobs/structs/job_test.go +++ b/plugins/jobs/structs/job_test.go @@ -13,7 +13,7 @@ func TestJob_Body(t *testing.T) { } func TestJob_Context(t *testing.T) { - j := &Job{Job: "job"} + j := &Job{Job: "job", Options: &Options{ID: "id"}} - assert.Equal(t, []byte(`{"id":"id","job":"job"}`), j.Context("id")) + assert.Equal(t, []byte(`{"id":"id","job":"job"}`), j.Context()) } |