lemmy/crates/db_views/src
netbrum 483bdd592e
Replace clippy::unwrap_used in tests (#5064)
* Add LemmyResult to session_middleware tests

* Add LemmyResult to inboxes tests

* Add LemmyResult to slurs tests

* Add LemmyResult to markdown tests

* Add LemmyResult to rate_limiter tests

* Add LemmyResult to error tests

* Add LemmyResult to api_common utils tests

* Add LemmyResult to request tests

* Add LemmyResult to claims tests

* Propagate registration_applications errors

* Remove clippy::unwrap_used from community tests

* Add LemmyResult to community_view tests

* Add LemmyResult to db_schema post tests

* Add LemmyResult to site_aggregates tests

* Add LemmyResult to private_message tests

* Add LemmyResult to activity tests

* Add LemmyResult to federation_allowlist tests

* Add LemmyResult to comment_aggregates tests

* Add LemmyResult to post_report tests

* Add LemmyResult to moderator tests

* Add LemmyResult to community_aggregates tests

* Add LemmyResult to person_aggregates tests

* Add LemmyResult to language tests

* Add LemmyResult to post_aggregates tests

* Add LemmyResult to db_schema comment tests

* Add LemmyResult to actor_language tests

* Add LemmyResult to vote_view tests

* Add LemmyResult to registration_application_view tests

* Add LemmyResult to private_message_view tests

* Add LemmyResult to private_message_report_view tests

* Add LemmyResult to post_report_view tests

* Add LemmyResult to comment_report_view tests

* Add LemmyResult to sitemap tests

* Replace .expect() with .unwrap()

* Format code

* Remove clippy::unwrap_used from activity tests

* Add diesel result in db_schema tests

* Format code

* Map to_bytes() error to LemmyErrorType

* Remove clippy::unwrap_used from error tests

* Removing a few more unwraps, and cleaning up language code.

* Replace map_err with unwrap_or_default

* Replace ok_or with and_then

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-10-02 08:50:21 -04:00
..
comment_report_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
comment_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
custom_emoji_view.rs Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
lib.rs Creating a LocalImageView, so that front ends have the Person struct. (#4631) 2024-04-16 19:20:44 -04:00
local_image_view.rs Creating a LocalImageView, so that front ends have the Person struct. (#4631) 2024-04-16 19:20:44 -04:00
local_user_view.rs Simplify handling of NotFound SQL errors (fixes #4633) (#5031) 2024-09-23 11:26:50 -04:00
post_report_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
post_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
private_message_report_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
private_message_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
registration_application_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
site_view.rs Remove enable nsfw (#5017) 2024-09-16 11:18:16 -04:00
structs.rs Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00
vote_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00