Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-70014 tool_customlang: Workaround to make behat happier
This is a BEHAT_RUNNING only hack, so it doesn't affect normal operations at all. What it achieves is to reduce the number of strings loaded when customising a lang pack from current 31K ones to the just needed ones for Behat testing purposes. That way we avoid the random failures that are happening more and more (while the "en" lang pack grows) and also save some precious minutes in every behat run. Also, unrelated, a couple of tiny changes: - Modified constant (that was really outdated) to current number of lang strings (so the progress bar behaves better). - Remove an elseif occurrence because it was hurting my eyes.
- Loading branch information