summaryrefslogtreecommitdiff
path: root/tests/plugins/informer/informer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/informer/informer_test.go')
-rw-r--r--tests/plugins/informer/informer_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/informer/informer_test.go b/tests/plugins/informer/informer_test.go
index 31e14ff4..b6f50fd5 100644
--- a/tests/plugins/informer/informer_test.go
+++ b/tests/plugins/informer/informer_test.go
@@ -12,12 +12,12 @@ import (
endure "github.com/spiral/endure/pkg/container"
goridgeRpc "github.com/spiral/goridge/v3/pkg/rpc"
+ "github.com/spiral/roadrunner/v2/pkg/process"
"github.com/spiral/roadrunner/v2/plugins/config"
"github.com/spiral/roadrunner/v2/plugins/informer"
"github.com/spiral/roadrunner/v2/plugins/logger"
rpcPlugin "github.com/spiral/roadrunner/v2/plugins/rpc"
"github.com/spiral/roadrunner/v2/plugins/server"
- "github.com/spiral/roadrunner/v2/tools"
"github.com/stretchr/testify/assert"
)
@@ -100,7 +100,7 @@ func informerWorkersRPCTest(t *testing.T) {
// WorkerList contains list of workers.
list := struct {
// Workers is list of workers.
- Workers []tools.ProcessState `json:"workers"`
+ Workers []process.State `json:"workers"`
}{}
err = client.Call("informer.Workers", "informer.plugin1", &list)