diff options
author | Valery Piashchynski <[email protected]> | 2020-11-16 14:21:35 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-16 14:21:35 +0300 |
commit | 57ad958acab2d108be0a35547faf6e7a791cf069 (patch) | |
tree | 3c519708540265a7e74b03d1fe17ef4101ffcfdf /plugins/http/test/http_test.go | |
parent | d890eee1742dc3a0a1c787f7e65d40b1e81a94db (diff) |
Update Pool
Diffstat (limited to 'plugins/http/test/http_test.go')
-rw-r--r-- | plugins/http/test/http_test.go | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/http/test/http_test.go b/plugins/http/test/http_test.go new file mode 100644 index 00000000..c109d930 --- /dev/null +++ b/plugins/http/test/http_test.go @@ -0,0 +1,23 @@ +package test + +import ( + "testing" + + "github.com/spiral/endure" + "github.com/spiral/roadrunner/v2/plugins/config" + "github.com/stretchr/testify/assert" +) + +func TestHTTPInit(t *testing.T) { + cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.Visualize(endure.StdOut, "")) + assert.NoError(t, err) + + cfg := &config.Viper{ + Path: ".rr-http.yaml", + Prefix: "", + } + err = cont.RegisterAll( + + ) + assert.NoError(t, err) +} |