go-waku/waku/v2/rpc/util_test.go

16 lines
273 B
Go
Raw Normal View History

package rpc
import (
"bytes"
"net/http"
"testing"
"github.com/stretchr/testify/require"
)
func makeRequest(t *testing.T) *http.Request {
request, err := http.NewRequest(http.MethodPost, "url", bytes.NewReader([]byte("")))
require.NoError(t, err)
return request
}