Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
taratatach committed Nov 18, 2024
1 parent 6da91df commit 8b1d02c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/settings/settings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ func TestSettings(t *testing.T) {

t.Run("GetCapabilities", func(t *testing.T) {
e := testutils.CreateTestClient(t, tsURL)
svc.On("GetLegalNoticeUrl", testInstance).Return("").Once()

e.GET("/settings/instance").
WithCookie(sessCookie, "connected").
Expand Down Expand Up @@ -573,6 +574,7 @@ func TestSettings(t *testing.T) {

t.Run("GetUpdatedInstance", func(t *testing.T) {
e := testutils.CreateTestClient(t, tsURL)
svc.On("GetLegalNoticeUrl", testInstance).Return("").Once()

obj := e.GET("/settings/instance").
WithCookie(sessCookie, "connected").
Expand Down

0 comments on commit 8b1d02c

Please sign in to comment.