Files
wekan/server/lib
Lauri Ojansivu f6dcb7aade Mocha: the feature gate test turns the admin preview off for itself, and the REST login test reads the body as sent.
A site admin previews off features only while Admin Panel says so, and the
test database had the preview on, so the admin's call was allowed - as it
should be; the test now sets the preview off for the refusal and checks the
preview keeps the feature as the negative case. sendJsonResult writes `data`
as the body itself, so the signed-in id is json.id.

Thanks to xet7 !
2026-11-22 19:04:17 +02:00
..