Problem/Motivation
In core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php file change static query to dynamic query in testDump() method
$record = $connection->query("SELECT * FROM {test_routes} WHERE name= :name", [':name' => 'test_route'])->fetchObject();
Proposed resolution
$record = $connection->select('test_routes', 'tr')
->fields('tr')
->condition('name', 'test_route')
->execute()
->fetchObject();Remaining tasks
TBD
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
TBD
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3156612-2.patch | 818 bytes | hardik_patel_12 |
Comments
Comment #2
hardik_patel_12 commentedKindly review a patch.
Comment #3
siddhant.bhosale commentedHi @hardik_patel_12, The patch looks good and applies cleanly, but please refer to the issue https://www.drupal.org/project/drupal/issues/3152398.
This issue is already covered. Can you mark it duplicate and close this issue?
Please let me know if I am missing anything or we can close the issue.
Comment #4
siddhant.bhosale commentedComment #5
siddhant.bhosale commentedComment #6
hardik_patel_12 commented@sidhhant thanks for reviewing.