From 0ab6cf2b6eb70e3b0a12409b28a22e544e561dd2 Mon Sep 17 00:00:00 2001 From: Roman Zipp Date: Mon, 14 Feb 2022 15:02:13 +0100 Subject: [PATCH] Remove debug statement from upload endpoint test --- main_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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()) }) }