From 46031a2c8d3bae39e1f4471e56a0a6c944d095e7 Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Thu, 19 Sep 2024 10:03:04 +0900 Subject: [PATCH] Updated page tests Took 2 minutes --- confluence/internal/page_impl_test.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/confluence/internal/page_impl_test.go b/confluence/internal/page_impl_test.go index 649f3d02..60584a5d 100644 --- a/confluence/internal/page_impl_test.go +++ b/confluence/internal/page_impl_test.go @@ -4,13 +4,15 @@ import ( "context" "encoding/json" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" - "github.com/stretchr/testify/assert" "log" "net/http" "testing" + + "github.com/stretchr/testify/assert" + + model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/service" + "github.com/ctreminiom/go-atlassian/service/mocks" ) func Test_internalPageImpl_Get(t *testing.T) { @@ -998,8 +1000,8 @@ func Test_internalPageImpl_Update(t *testing.T) { } mockedPayload := &model.PageUpdatePayloadScheme{ - ID: 215646235, - SpaceID: 203718658, + ID: "215646235", + SpaceID: "203718658", Status: "current", Title: "Page create title test", Body: &model.PageBodyRepresentationScheme{