blob: c109d930a554b5feeb9b25f1fbed69e9b484b583 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)
}
|