mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-10-08 12:41:36 +00:00
The SSO callback failure path calls put_flash/3, which requires the session and flash plugs installed by the :browser pipeline. These tests built a bare build_conn/0, so all six died with "flash not fetched, call fetch_flash/2" before reaching the redirect they assert on. This is a test setup defect, not a controller defect -- the controller legitimately expects the standard browser pipeline. Fixed by routing the affected cases through a browser_conn/0 helper that initialises a test session and fetches flash, rather than weakening the controller or the assertions.