Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ported mocha templatedata.js to phpunit TemplateDataTest.php
* Found an issue with WikitestSerializer where under test conditions of new content, NoFormatWithParamOrder it accesses $tplData['params'] which are not set causing a crash. I removed $params as a seperate variable and allow the merged $aliases = $tplData['params'][$key]['aliases'] ?? []; to define an empty array if it is not set. Bug: T237693 Change-Id: I802444e426bd6819bcd628a26ce93cd48b6af1f7
- Loading branch information