1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05:00
This commit is contained in:
Michael Jerger 2024-02-09 17:46:27 +01:00
parent 664144930e
commit eecb9b8040
6 changed files with 8 additions and 6 deletions

View file

@ -7,6 +7,7 @@ import (
"time"
"code.gitea.io/gitea/modules/validation"
ap "github.com/go-ap/activitypub"
)

View file

@ -8,6 +8,7 @@ import (
"testing"
"code.gitea.io/gitea/modules/validation"
ap "github.com/go-ap/activitypub"
)

View file

@ -8,10 +8,10 @@ import (
"net/url"
"strings"
ap "github.com/go-ap/activitypub"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/validation"
ap "github.com/go-ap/activitypub"
)
// ----------------------------- ActorID --------------------------------------------

View file

@ -8,10 +8,10 @@ import (
"strings"
"testing"
ap "github.com/go-ap/activitypub"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/validation"
ap "github.com/go-ap/activitypub"
)
func TestNewPersonId(t *testing.T) {

View file

@ -18,8 +18,9 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
_ "github.com/mattn/go-sqlite3"
"github.com/stretchr/testify/assert"
_ "github.com/mattn/go-sqlite3"
)
/* ToDo: Set Up tests for http get requests

View file

@ -9,7 +9,6 @@ import (
"strings"
forgefed_model "code.gitea.io/gitea/models/forgefed"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/forgefed"
"code.gitea.io/gitea/modules/log"