Skip to content

Commit

Permalink
Fix routes setting default in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rhell4 committed Jan 10, 2024
1 parent 9227685 commit 11d18b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformer/get_event_function_map.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function get_event_function_map() {
* which will cause the core_event_deprecated_testcase to fail
* (debugging already called and the debug mode is off - list_generator.php)
**/
$environmentevents = $availableevents;
$environmentevents = array_keys($availableevents);

} else {
$environmentevents = class_exists("report_eventlist_list_generator") ?
Expand Down

0 comments on commit 11d18b7

Please sign in to comment.