lemmy/api_tests/src
biosfood 384e55f0e4
update moderator view (#3820)
* update api tests for new moderator view

* chage moderator view to be a listing type in get posts

Note: Internally, the listing type is called ListingType.ModeratorView,
but it's called "Moderator View" in the api endpoint

* fix formatting

* add support for moderator view to list comments

* add api test for moderator view when listing comments

* fix api test formatting

* retry tests

* don't filter out blocked users and communities when using moderator view

* fix cargo tests failing

* fix formatting

* fix previous merge

* Adding ModeratorView to listing_type_enums

* Fixing fmt.

* Adding a default to ListingType.

* Upgrading to use new lemmy-js-client.

---------

Co-authored-by: Nutomic <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-08-31 13:07:45 +02:00
..
comment.spec.ts Enhanced testing of comments. Validate reply notifications, mentions (#3686) 2023-08-01 09:14:40 -04:00
community.spec.ts update moderator view (#3820) 2023-08-31 13:07:45 +02:00
follow.spec.ts Update prettier to 3.0.0 (#3509) 2023-07-06 15:10:38 +02:00
post.spec.ts Sanitize html (#3708) 2023-07-26 14:01:15 -04:00
private_message.spec.ts Update prettier to 3.0.0 (#3509) 2023-07-06 15:10:38 +02:00
shared.ts update moderator view (#3820) 2023-08-31 13:07:45 +02:00
user.spec.ts Fix federation test errors with new lemmy-js-client (#3678) 2023-07-21 11:47:56 +02:00