As discussed in the issue, I added a check for an active search service before the rest of AccountRequestsDbIT::testSqlInjectionSearchAccountsRequestsInWholeSystem ran, but I did not shift the test to AccountRequestSearchIT as the test utilised methods from the accountRequestDb class, which I feel should not be put into AccountRequestsDbIT as it has tests which make use of database related functionality.
Fixes #12901
Outline of Solution
As discussed in the issue, I added a check for an active search service before the rest of
AccountRequestsDbIT::testSqlInjectionSearchAccountsRequestsInWholeSystem
ran, but I did not shift the test toAccountRequestSearchIT
as the test utilised methods from theaccountRequestDb
class, which I feel should not be put intoAccountRequestsDbIT
as it has tests which make use of database related functionality.