fix the ap api uri
This commit is contained in:
parent
283db3b82a
commit
5410df1a03
1 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@
|
||||||
::sut/type "Like",
|
::sut/type "Like",
|
||||||
::sut/actor "https://repo.prod.meissa.de/jem",
|
::sut/actor "https://repo.prod.meissa.de/jem",
|
||||||
::sut/object "https://codeberg.org/forgejo/forgejo.git"})))
|
::sut/object "https://codeberg.org/forgejo/forgejo.git"})))
|
||||||
(testing "using api uris for id refernce"
|
(testing "using api resource uris for id refernce"
|
||||||
(is (s/valid? ::sut/Like
|
(is (s/valid? ::sut/Like
|
||||||
{::sut/id "https://repo.prod.meissa.de/api/users/jem/like/12345",
|
{::sut/id "https://repo.prod.meissa.de/api/users/jem/like/12345",
|
||||||
::sut/type "Like",
|
::sut/type "Like",
|
||||||
|
@ -122,9 +122,9 @@
|
||||||
::sut/object "https://codeberg.org/forgejo/forgejo.git"})))
|
::sut/object "https://codeberg.org/forgejo/forgejo.git"})))
|
||||||
(testing "using activitypub api uris for id refernce"
|
(testing "using activitypub api uris for id refernce"
|
||||||
(is (s/valid? ::sut/Like
|
(is (s/valid? ::sut/Like
|
||||||
{::sut/id "https://repo.prod.meissa.de/activitypub/user-id/1/outbox/12345",
|
{::sut/id "https://repo.prod.meissa.de/api/activitypub/user-id/1/outbox/12345",
|
||||||
::sut/type "Like",
|
::sut/type "Like",
|
||||||
::sut/actor "https://repo.prod.meissa.de/activitypub/user-id/1",
|
::sut/actor "https://repo.prod.meissa.de/api/activitypub/user-id/1",
|
||||||
::sut/object "https://codeberg.org/forgejo/forgejo.git"})))
|
::sut/object "https://codeberg.org/forgejo/forgejo.git"})))
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue