fix the api resource uri for repo
This commit is contained in:
parent
5410df1a03
commit
354948eb01
1 changed files with 2 additions and 2 deletions
|
@ -119,13 +119,13 @@
|
|||
{::sut/id "https://repo.prod.meissa.de/api/users/jem/like/12345",
|
||||
::sut/type "Like",
|
||||
::sut/actor "https://repo.prod.meissa.de/api/users/jem",
|
||||
::sut/object "https://codeberg.org/forgejo/forgejo.git"})))
|
||||
::sut/object "https://codeberg.org/api/repos/forgejo/forgejo"})))
|
||||
(testing "using activitypub api uris for id refernce"
|
||||
(is (s/valid? ::sut/Like
|
||||
{::sut/id "https://repo.prod.meissa.de/api/activitypub/user-id/1/outbox/12345",
|
||||
::sut/type "Like",
|
||||
::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/api/repos/forgejo/forgejo"})))
|
||||
))
|
||||
|
||||
(deftest Object-test
|
||||
|
|
Loading…
Reference in a new issue