Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Reported in #3121479: There's a typo in "mach" at tests/src/Kernel/Resource/CartAddResourceTest.php.
if (!in_array($value['type'], $target_resource_type_names)) {
throw new BadRequestHttpException(sprintf(
'The provided type (%s) does not mach the destination resource types (%s).',
$value['type'],
implode(', ', $target_resource_type_names)
));
}
The error should be "match" but instead it shows "match"
Comment | File | Size | Author |
---|---|---|---|
#5 | 3127641-5.patch | 2.55 KB | mglaman |
#2 | 3127641-2.patch | 849 bytes | mglaman |
Comments
Comment #2
mglaman💪 typo tackled.
Comment #3
logickal CreditAttribution: logickal at Third and Grove commentedLGTM!
Comment #5
mglamanFix test assertion which also had "mach"
Comment #6
longwaveThese are the only instances of " mach " in the codebase.
Comment #7
Wim Leers🦅👁👏
Comment #10
catchCommitted 6eda65d and pushed to 9.1.x. Thanks!