Skip to content

Conversation

@KMGeon
Copy link
Contributor

@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 <pos04167@kakao.com>
@fmbenhassine fmbenhassine merged commit b848638 into spring-projects:main Oct 28, 2025
1 check passed
@fmbenhassine
Copy link
Contributor

LGTM! Thank you for the PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect error message in JobOperatorTestUtils constructor

2 participants