diff options
Diffstat (limited to 'http_server_test.go')
| -rw-r--r-- | http_server_test.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/http_server_test.go b/http_server_test.go index 2dcd94f..8617c65 100644 --- a/http_server_test.go +++ b/http_server_test.go @@ -55,10 +55,7 @@ func TestHttpServer_Decrypt(t *testing.T) { } var endpointDecrypt = &libhttp.Endpoint{ - Method: libhttp.RequestMethodPost, - Path: pathAwwanAPIDecrypt, - RequestType: libhttp.RequestTypeJSON, - ResponseType: libhttp.ResponseTypeJSON, + Path: pathAwwanAPIDecrypt, } var cases = []testCase{{ @@ -142,10 +139,7 @@ func TestHttpServer_Encrypt(t *testing.T) { } var endpointEncrypt = &libhttp.Endpoint{ - Method: libhttp.RequestMethodPost, - Path: pathAwwanAPIEncrypt, - RequestType: libhttp.RequestTypeJSON, - ResponseType: libhttp.ResponseTypeJSON, + Path: pathAwwanAPIEncrypt, } var cases = []testCase{{ |
