fix most of the tests

This commit is contained in:
Michael Jerger 2023-12-15 16:02:50 +01:00
parent 9e6c45f87d
commit 1704ac5bc2
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ func Test_StarMarshalJSON(t *testing.T) {
Object: ap.IRI("https://codeberg.org/api/v1/activitypub/repository-id/1"),
},
},
want: []byte(`{"source":"forgejo","type":"Star","actor":"https://repo.prod.meissa.de/api/activitypub/user-id/1","object":"https://codeberg.org/api/activitypub/repository-id/1"}`),
want: []byte(`{"source":"forgejo","type":"Star","actor":"https://repo.prod.meissa.de/api/v1/activitypub/user-id/1","object":"https://codeberg.org/api/v1/activitypub/repository-id/1"}`),
},
}