From 5410df1a03b72749f30a2d330cb3b013520b1fdc Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Mon, 16 Oct 2023 09:01:29 +0200 Subject: [PATCH] fix the ap api uri --- .../fed_poc/activitystreams2_test.cljc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/cljc/org/domaindrivenarchitecture/fed_poc/activitystreams2_test.cljc b/src/test/cljc/org/domaindrivenarchitecture/fed_poc/activitystreams2_test.cljc index 4c87480..8b252aa 100644 --- a/src/test/cljc/org/domaindrivenarchitecture/fed_poc/activitystreams2_test.cljc +++ b/src/test/cljc/org/domaindrivenarchitecture/fed_poc/activitystreams2_test.cljc @@ -114,7 +114,7 @@ ::sut/type "Like", ::sut/actor "https://repo.prod.meissa.de/jem", ::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 {::sut/id "https://repo.prod.meissa.de/api/users/jem/like/12345", ::sut/type "Like", @@ -122,9 +122,9 @@ ::sut/object "https://codeberg.org/forgejo/forgejo.git"}))) (testing "using activitypub api uris for id refernce" (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/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"}))) ))