summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-04-26 15:24:15 +0200
committerLibravatar GitHub <noreply@github.com>2025-04-26 15:24:15 +0200
commit85eb1926697e61b9add89595928f2941f03864d8 (patch)
tree3729eb28b911f6485f535163bd97de390246c188
parent[feature] Update attachment format, receive + send `focalPoint` prop + use it... (diff)
downloadgotosocial-85eb1926697e61b9add89595928f2941f03864d8.tar.xz
[chore] fix testrig build (#4059)
-rw-r--r--cmd/gotosocial/action/testrig/testrig.go2
-rw-r--r--internal/api/client/lists/listaccountsadd_test.go2
2 files changed, 1 insertions, 3 deletions
diff --git a/cmd/gotosocial/action/testrig/testrig.go b/cmd/gotosocial/action/testrig/testrig.go
index cca4ead22..9285304ae 100644
--- a/cmd/gotosocial/action/testrig/testrig.go
+++ b/cmd/gotosocial/action/testrig/testrig.go
@@ -35,7 +35,6 @@ import (
apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util"
"github.com/superseriousbusiness/gotosocial/internal/cleaner"
"github.com/superseriousbusiness/gotosocial/internal/config"
- "github.com/superseriousbusiness/gotosocial/internal/filter/visibility"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
"github.com/superseriousbusiness/gotosocial/internal/language"
"github.com/superseriousbusiness/gotosocial/internal/log"
@@ -154,7 +153,6 @@ var Start action.GTSAction = func(ctx context.Context) error {
emailSender := testrig.NewEmailSender("./web/template/", nil)
webPushSender := testrig.NewWebPushMockSender()
typeConverter := typeutils.NewConverter(state)
- filter := visibility.NewFilter(state)
processor := testrig.NewTestProcessor(state, federator, emailSender, webPushSender, mediaManager)
diff --git a/internal/api/client/lists/listaccountsadd_test.go b/internal/api/client/lists/listaccountsadd_test.go
index 7e5dd2809..7ed917e26 100644
--- a/internal/api/client/lists/listaccountsadd_test.go
+++ b/internal/api/client/lists/listaccountsadd_test.go
@@ -18,13 +18,13 @@
package lists_test
import (
+ "bytes"
"context"
"fmt"
"io"
"net/http"
"net/http/httptest"
"testing"
- "bytes"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/api/client/lists"