mirror of https://github.com/status-im/go-waku.git
16 lines
273 B
Go
16 lines
273 B
Go
|
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
|
||
|
}
|