stable

Clone or download

Read-only

fix(mercure): Mercure token must be generated for testmanagement only

This is part of story #32297 Have Tuleap Test Management realtime be Mercure based Given no Mercure feature flag set to Kanban and one set for Testmanagement, then Tuleap must generates the Mercure JWT. How to test ---------- * Set feature_flag_enable_mercure_dev_kanban to 0 * Set feature_flag_enable_mercure_dev_testmanagement to 1 * Enable tuleap-mercure service if needed (systemctl restart tuleap-mercure) * Try to have realtime interactions in testmanagement => It must work Change-Id: I123ff2f5c88aa8bcb4ef83ced2027af5c76f9382

Modified Files

Name
M src/common/JWT/generators/MercureJWTGeneratorBuilder.php +4 −1 Go to diff View file
A tests/unit/common/JWT/generators/MercureJWTGeneratorBuilderTest.php +135 −0 Go to diff View file
R tests/unit/common/JWT/generators/MercureJWTGeneratorTest.php Go to diff View file