Make error expection more general
What does this MR do?
Minor extraction from !40088 (merged) - makes an error expectation more general in anticipation of the error message changing.
Does this MR meet the acceptance criteria?
As a developer facing change, no changelog is needed.
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Edited by Alex Kalderimis