Closed (fixed)
Project:
Drupal core
Version:
main
Component:
search.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2026 at 05:14 UTC
Updated:
2 Apr 2026 at 09:40 UTC
Jump to comment: Most recent
Part of deprecating Search module.
These tests still pass when Search is not installed.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
smustgrave commentedFollowed up to @dcam comment.
Comment #6
quietone commentedComment #7
smustgrave commentedShould BlockHiddenRegionTest be addressed too?
Comment #8
smustgrave commentedThink BlockHiddenRegionTest could be included. Needs a little refactoring but it's not actually doing anything search related. Just label checking.
Comment #9
quietone commentedIt looks to me that that test will need a replacement block to test with. For me, that moved it out this set of very easy ones.
Comment #10
dcam commentedHey guys, I'm sorry I didn't come back to this sooner. I usually try to follow up on my reviews right away.
My feedback was addressed. And the new changes to
BlockHiddenRegionTestlook OK to me. In my opinion the changes are simple enough. They're similar to the change we made inAjaxFormCacheTest. So I would include them.The one thing I don't get is that the
BlockHiddenRegionTestdockblock's comment says:But I can't tell that there's any check that a block isn't inherited. Maybe it does and I just don't understand it due to a lack of comments in the test function.
Anyway, the
test_form_in_blockappears to be a drop-in replacement for the search block here too, with only minor text changes required to make the test continue to work.Comment #11
catchCommitted/pushed to main, thanks!