Skip to content

Commit

Permalink
Updated page tests
Browse files Browse the repository at this point in the history
Took 2 minutes
  • Loading branch information
Fank committed Sep 19, 2024
1 parent a9a1e42 commit 46031a2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions confluence/internal/page_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 46031a2

Please sign in to comment.