Développement #48961
tests: améliorer la fixture mock_now
Start date:
30 November 2020
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
No
Description
Parce que now() doit renvoyer de l'UTC mais cette fixture lui fait renvoyer des valeurs dans d'autres timezones.
(trouvé au détour de #48464#note-2)
Files
Associated revisions
History
Updated by Valentin Deniaud almost 4 years ago
- File 0001-tests-use-freezer-when-mocking-time-48961.patch 0001-tests-use-freezer-when-mocking-time-48961.patch added
- Status changed from Nouveau to Solution proposée
- Patch proposed changed from No to Yes
Tranquille, juste quelques localtime manquants à ajouter.
Updated by Benjamin Dauvergne almost 4 years ago
- Status changed from Solution proposée to Solution validée
Updated by Valentin Deniaud almost 4 years ago
- Status changed from Solution validée to Résolu (à déployer)
commit 7933e58ae98b7a20ab96c7589166e34183c12b60 Author: Valentin Deniaud <vdeniaud@entrouvert.com> Date: Fri Nov 13 08:45:56 2020 +0100 tests: use freezer when mocking time (#48961)
Updated by Frédéric Péters almost 4 years ago
- Status changed from Résolu (à déployer) to Solution déployée
tests: use freezer when mocking time (#48961)