fixing GoDoc + some test function names

This commit is contained in:
Julien Neuhart
2018-12-10 20:21:31 +01:00
parent 152db0551d
commit 52c14a79a1
6 changed files with 15 additions and 15 deletions

View File

@@ -11,7 +11,7 @@ import (
)
func TestHTML(t *testing.T) {
body, contentType := test.HTMLMultipartForm(t)
body, contentType := test.HTMLTestMultipartForm(t)
req := httptest.NewRequest(http.MethodPost, "/convert/html", body)
req.Header.Set(echo.HeaderContentType, contentType)
rec := httptest.NewRecorder()

View File

@@ -11,7 +11,7 @@ import (
)
func TestMarkdown(t *testing.T) {
body, contentType := test.MarkdownMultipartForm(t)
body, contentType := test.MarkdownTestMultipartForm(t)
req := httptest.NewRequest(http.MethodPost, "/convert/markdown", body)
req.Header.Set(echo.HeaderContentType, contentType)
rec := httptest.NewRecorder()

View File

@@ -11,7 +11,7 @@ import (
)
func TestMerge(t *testing.T) {
body, contentType := test.PDFMultipartForm(t)
body, contentType := test.PDFTestMultipartForm(t)
req := httptest.NewRequest(http.MethodPost, "/merge", body)
req.Header.Set(echo.HeaderContentType, contentType)
rec := httptest.NewRecorder()

View File

@@ -11,7 +11,7 @@ import (
)
func TestOffice(t *testing.T) {
body, contentType := test.OfficeMultipartForm(t)
body, contentType := test.OfficeTestMultipartForm(t)
req := httptest.NewRequest(http.MethodPost, "/convert/office", body)
req.Header.Set(echo.HeaderContentType, contentType)
rec := httptest.NewRecorder()