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/Account
Your Name 6b14b229d1 Fix media storage migration crash when no .env file exists
The media storage migration commands read/parsed the .env file directly to
check and flip PF_ENABLE_CLOUD. In containerized deploys there is no .env on
disk (config is injected via env vars), so updateEnvFile() threw
'file_get_contents(.env): Failed to open stream' and the scheduled command
exited 1.

- Check the live setting via config_cache('pixelfed.cloud_storage') like the
  rest of the app, instead of parsing .env.
- Make the .env write best-effort in ManagesMediaStorageEnv: skip gracefully
  when the file is missing or read-only, and still apply the runtime + DB
  config-cache updates (the load-bearing changes on a hot server).
- Apply the same fix to the sibling unstable:MediaMoveStorageCloudToLocal.
- Add a regression test covering the no-.env container scenario.
3 weeks ago
..
FixPostCountsTest.php style: import DB facade in FixPostCounts test (pint) 4 weeks ago
FollowTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MediaMoveStorageCloudToCloudTest.php refactor: rename MigrateLocalS3MediaURL class and move media move-storage commands to unstable 3 weeks ago
MediaMoveStorageTest.php Fix media storage migration crash when no .env file exists 3 weeks ago
MigrateLocalS3MediaUrlTest.php Fix MigrateLocalS3MediaUrl tests failing in CI 4 weeks ago
MuteBlockTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PrivacyTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ProfileCountReconcileTest.php Require --scope (local/remote/both) for admin:fixProfileCounts --all 4 weeks ago
ReportTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago