trypost/tests
Paulo Castellano abe687d0fa
Fall back to display name when a published-post email has no username (#325)
* Fall back to display name when a published-post email has no username.

Facebook Pages often have no vanity username, which left the email as "Facebook Page (@)". Use username, then display name, and omit the empty parentheses when both are missing.

* Move the notification account label onto PostPlatform.

The fallback belongs on the row that always has a platform, so mail and in-app notify can call one method instead of guarding a missing social account at every call site.

* Cover the in-app published/failed notification body for Facebook Pages.

The email tests were not enough — SendNotification body is what the in-app inbox shows, and that path also goes through notificationLabel().
2026-09-03 12:51:44 -03:00
..
Browser Visible Terms and Privacy links on the auth screens (#317) 2026-09-01 18:20:38 -03:00
Feature Fall back to display name when a published-post email has no username (#325) 2026-09-03 12:51:44 -03:00
fixtures Defuse links in X posts to avoid the link-post fee (#308) 2026-08-29 15:31:05 -03:00
Unit Fall back to display name when a published-post email has no username (#325) 2026-09-03 12:51:44 -03:00
BrowserTestCase.php Address review: cropper mime/zoom/error fixes, harden browser test 2026-07-03 22:07:23 -03:00
CreatesApplication.php feat: Establish a dedicated testing environment with .env.testing, CreatesApplication trait, and Language model factory, integrating language selection into user profile tests and adjusting the languages table migration. 2026-01-18 19:56:04 -03:00
Pest.php ci: local TIA test runs; simplify e2e (drop sharding + e2e-gate) (#262) 2026-08-09 12:24:10 -03:00
TestCase.php Address review: cropper mime/zoom/error fixes, harden browser test 2026-07-03 22:07:23 -03:00