Skip to content
Snippets Groups Projects

Issue #3130107: Extend unit test coverage for LanguageNegotiationContentEntity

Open Stefanos Petrakis requested to merge issue/drupal-3130107:3130107-add-unit-test into 10.1.x
1 file
+ 4
3
Compare changes
  • Side-by-side
  • Inline
  • b2326566
    Issue #3251817 by alexpott, jonathan1055, nicxvan, longwave: Make run-tests.sh... · b2326566
    catch authored
    Issue #3251817 by alexpott, jonathan1055, nicxvan, longwave: Make run-tests.sh select all the required tests when testgroups: has more than one value
+ 4
3
@@ -984,11 +984,12 @@ function simpletest_script_get_test_list() {
simpletest_script_print_alternatives($first_group, $all_groups);
exit(SIMPLETEST_SCRIPT_EXIT_FAILURE);
}
// Ensure our list of tests contains only one entry for each test.
// Merge the tests from the groups together.
foreach ($args['test_names'] as $group_name) {
$test_list = array_merge($test_list, array_flip(array_keys($groups[$group_name])));
$test_list = array_merge($test_list, array_keys($groups[$group_name]));
}
$test_list = array_flip($test_list);
// Ensure our list of tests contains only one entry for each test.
$test_list = array_unique($test_list);
}
}
Loading