Sharkey/packages/backend/test
dakkar c05cc63e24 look inside `url` when checking activity origin - #512
The previous assertion that:

> if it's a complicated thing and the `activity.id` doesn't match, I
> think we're fine rejecting the activity

was wrong: at least peertube sends activities that have `url` as an
array of objects.

Notice that this does *not*, in fact, fix #512: the peertube activity
does not contain its short URL (`https://example.com/w/someid`), so
there's no way to confirm that it is the activity we requested.
2024-05-18 16:48:10 +01:00
..
e2e merge upstream for 2024.2.1 2024-03-02 16:36:49 +00:00
misc (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
prelude (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
resources
unit look inside `url` when checking activity origin - #512 2024-05-18 16:48:10 +01:00
.eslintrc.cjs
docker-compose.yml chore(workflows): use postgres 15 everywhere (#12726) 2023-12-21 10:29:51 +09:00
jest.setup.ts enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
tsconfig.json
utils.ts merge upstream for 2024.2.1 2024-03-02 16:36:49 +00:00