Partial code cleanup & testability improvement towards CRM-21177 #12289
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This is a partial reviewer's commit of #11038 which pulls in the initial readability & testability commit.
Before
No test, patch of code harder to read
After
test added, code slightly more legible , larger pr closer to resolution
Technical Details
@GinkgoFJG #11038 is pretty daunting for a reviewer, on top of the fact it still has test fails. I pulled in the first 3 commits from it (although I had to comment out one line of the test for now) to start to chip away at it. I will set this to merge on pass as I have reviewed these commits - once that is done if you could rebase your PR
Comments