rename fxct name

This commit is contained in:
Michael Jerger 2024-05-17 08:15:33 +02:00
parent 86db5f612c
commit 07659a5e7e
7 changed files with 14 additions and 14 deletions

View file

@ -108,12 +108,12 @@ func TestGetAllUsers(t *testing.T) {
assert.False(t, found[user_model.UserTypeOrganization], users)
}
func TestAPAPIURL(t *testing.T) {
func TestAPActorID(t *testing.T) {
user := user_model.User{ID: 1}
url := user.APAPIURL()
url := user.APActorID()
expected := "https://try.gitea.io/api/v1/activitypub/user-id/1"
if url != expected {
t.Errorf("unexpected APAPIURL, expected: %q, actual: %q", expected, url)
t.Errorf("unexpected APActorID, expected: %q, actual: %q", expected, url)
}
}