You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/tests
Your Name e4e12fad7c Extract duplicated blocked-id and duplicate-shortcode query patterns
Two query patterns were copy-pasted across several call sites:

- The 'users who blocked me, plus myself' list used to filter profile
  search (UserFilter::whereFilterableId($pid)->pluck('user_id')->push($pid))
  appeared in ComposeController (x2) and DirectMessageController. Extracted
  to UserFilterService::searchExcludedProfileIds(). Note this is the
  inverse of blocks() (who I blocked), so it is a distinct method.

- CustomEmoji duplicate detection (groupBy('shortcode')->havingRaw(
  'count(*) > 1')) appeared three times in AdminController. Extracted to a
  CustomEmoji::duplicateShortcodes() query scope.

Adds tests for both. No behaviour change.
4 weeks ago
..
Feature Extract duplicated blocked-id and duplicate-shortcode query patterns 4 weeks ago
Unit Accept compacted Note attachments (#6588) 4 weeks ago
bats fix directory-is-empty and add tests to avoid regressions 3 years ago
CreatesApplication.php Apply Pint formatting to tests/ 1 month ago
Pest.php feat: add critical path test suite and fix auth/config issues 1 month ago
TestCase.php Add Laravel Framework 9 years ago