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/Feature
Your Name b52c3d7659 perf: fix N+1 queries; fix ComposeController lint and test namespace
Performance:
- TrendingHashtagService: batch-load hashtags with whereIn/keyBy instead
  of Hashtag::find() per trending row.
- DirectMessageController: eager-load status.media and read the in-memory
  collection instead of firstMedia() issuing a query per DM message.
- GroupsSearchController: batch Profile/Follower/GroupInvitation lookups
  with whereIn instead of per-invitee queries.

Lint/tests:
- ComposeController: whitespace formatting (Pint).
- ComposeControllerTest: correct App\User to App\Models\User, fixing the
  larastan class.notFound error and import ordering.

Full suite: 547 passed. Pint and PHPStan clean.
4 weeks ago
..
Account style: import DB facade in FixPostCounts test (pint) 4 weeks ago
Api refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Auth refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AuthScope refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Compose refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
CriticalRoutes fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
Federation Fix duplicate-key violation when importing remote media attachments 4 weeks ago
Framework refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Security refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Settings refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ActivityPubDeliveryServiceTest.php refactor: extract shared ActivityPub pool delivery into ActivityPubDeliveryService 4 weeks ago
AdminRemoveCwTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
CommentPrivatePostTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ComposeControllerTest.php perf: fix N+1 queries; fix ComposeController lint and test namespace 4 weeks ago
DeleteWorkerAuthorizationTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HttpClientMigrationTest.php fix: resolve larastan class.notFound errors 4 weeks ago
LoginTest.php API improvements + test fixes (#5925) 1 year ago
ModelNamespaceMigrationTest.php test: verify morph map resolves legacy model namespaces 4 weeks ago
NotificationServiceTest.php refactor: extract duplicate patterns into shared methods 4 weeks ago
RemoteOidcTest.php Fix larastan errors in RemoteOidcTest: import Test attribute and RefreshDatabase, replace removed str_random helper 4 weeks ago
ValidUsernameTest.php refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago