Skip to content

Conversation

@KMGeon
Copy link

@KMGeon KMGeon commented Oct 26, 2025

What

Fix incorrect error message in JobOperatorTestUtils constructor

Why

The first Assert.notNull statement was incorrectly referencing 'JobRepository' when it should reference 'JobOperator' for the jobOperator parameter validation.

Changes

  • Changed error message from "JobRepository must not be null" to "JobOperator must not be null" in the first assertion

Fixes gh-5051


Checklist:

  • Rebased on latest main branch
  • All tests pass
  • Commits are signed-off (DCO)
  • No new unit tests needed (simple error message correction)

The first Assert.notNull statement was incorrectly referencing
'JobRepository' when it should reference 'JobOperator' for the
jobOperator parameter validation.

Fixes spring-projectsgh-5051

Signed-off-by: mugeon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect error message in JobOperatorTestUtils constructor

1 participant