diff --git a/main_test.go b/main_test.go index 0ed7112..fe7a5c9 100644 --- a/main_test.go +++ b/main_test.go @@ -3,12 +3,12 @@ package main import ( "encoding/base64" "encoding/json" - "fmt" - "github.com/geplauder/lithium/controllers" "net/http" "net/http/httptest" "testing" + "github.com/geplauder/lithium/controllers" + "github.com/bxcodec/faker/v3" "github.com/geplauder/lithium/pipelines" "github.com/geplauder/lithium/settings" @@ -139,6 +139,5 @@ func TestUploadRoute(t *testing.T) { assert.Equal(t, 0x1A6, responseRecorder.Code) str, _ := base64.StdEncoding.DecodeString("eyJlcnJvciI6Im5vIG11bHRpcGFydCBib3VuZGFyeSBwYXJhbSBpbiBDb250ZW50LVR5cGUifQ==") assert.JSONEq(t, string(str), responseRecorder.Body.String()) - fmt.Println(responseRecorder.Body.String()) }) }