diff options
Diffstat (limited to 'plugins/jobs/oooold/job_test.go')
-rw-r--r-- | plugins/jobs/oooold/job_test.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/jobs/oooold/job_test.go b/plugins/jobs/oooold/job_test.go deleted file mode 100644 index 5db924eb..00000000 --- a/plugins/jobs/oooold/job_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package oooold - -import ( - "github.com/stretchr/testify/assert" - "testing" -) - -func TestJob_Body(t *testing.T) { - j := &Job{Payload: "hello"} - - assert.Equal(t, []byte("hello"), j.Body()) -} - -func TestJob_Context(t *testing.T) { - j := &Job{Job: "job"} - - assert.Equal(t, []byte(`{"id":"id","job":"job"}`), j.Context("id")) -} |