diff options
-rw-r--r-- | plugins/static/tests/static_plugin_test.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/static/tests/static_plugin_test.go b/plugins/static/tests/static_plugin_test.go index 5717d1e8..a9cb1fd1 100644 --- a/plugins/static/tests/static_plugin_test.go +++ b/plugins/static/tests/static_plugin_test.go @@ -13,7 +13,6 @@ import ( "time" "github.com/golang/mock/gomock" - j "github.com/json-iterator/go" "github.com/spiral/endure" "github.com/spiral/roadrunner/v2/mocks" "github.com/spiral/roadrunner/v2/plugins/config" @@ -25,8 +24,6 @@ import ( "github.com/stretchr/testify/assert" ) -var json = j.ConfigCompatibleWithStandardLibrary - func TestStaticPlugin(t *testing.T) { cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.Visualize(endure.StdOut, "")) assert.NoError(t, err) @@ -400,14 +397,6 @@ func get(url string) (string, *http.Response, error) { return string(b), r, err } -func tmpDir() string { - p := os.TempDir() - - r, _ := j.Marshal(p) - - return string(r) -} - func all(fn string) string { f, _ := os.Open(fn) |