summaryrefslogtreecommitdiff
path: root/worker/worker_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/worker_test.go')
-rwxr-xr-xworker/worker_test.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/worker/worker_test.go b/worker/worker_test.go
deleted file mode 100755
index 805f66b5..00000000
--- a/worker/worker_test.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package worker
-
-import (
- "os/exec"
- "testing"
-
- "github.com/stretchr/testify/assert"
-)
-
-func Test_OnStarted(t *testing.T) {
- cmd := exec.Command("php", "tests/client.php", "broken", "pipes")
- assert.Nil(t, cmd.Start())
-
- w, err := InitBaseWorker(cmd)
- assert.Nil(t, w)
- assert.NotNil(t, err)
-
- assert.Equal(t, "can't attach to running process", err.Error())
-}