From 61e8d4e7a454d1ad47125f08a3223ef8e3a5addb Mon Sep 17 00:00:00 2001 From: seanwelch Date: Sun, 16 Jun 2024 14:24:33 +0100 Subject: [PATCH] pls lets go again --- server/tests/blog_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/tests/blog_test.go b/server/tests/blog_test.go index 77f33de..3b417b7 100644 --- a/server/tests/blog_test.go +++ b/server/tests/blog_test.go @@ -126,6 +126,7 @@ func TestCreateBlog(t *testing.T) { Body: "New Body", Created: "2024-01-01 12:00:00", } + payload, _ := json.Marshal(blog) resp, err := http.Post(fmt.Sprintf("%s/blogs", server.URL), "application/json", bytes.NewBuffer(payload))