mirror of https://github.com/pixelfed/pixelfed
Fix cached-page 500s and flaky smoke/API tests
- terms/privacy/community-guidelines views accessed the cached page as an object ($page->title), but cachedPage() returns an array, causing a 500 whenever a custom Page row existed. Switch to array access. - PublicRouteSmokeTest: enable open_registration before hitting /register, which 404s by default when registration is disabled. - Api/AccountTest: derive sanctum.stateful domain from app.url instead of hardcoding pixelfed.test, so the first-party auth test is environment independent.pull/7265/head
parent
d49bab829f
commit
a14fba166f
Loading…
Reference in New Issue