Skip to content

Refactor: Migrate InfoControllerTest to JUnit 5#11954

Open
prashantkumarniraj wants to merge 1 commit intocBioPortal:masterfrom
prashantkumarniraj:refactor/junit5-info-controller-test
Open

Refactor: Migrate InfoControllerTest to JUnit 5#11954
prashantkumarniraj wants to merge 1 commit intocBioPortal:masterfrom
prashantkumarniraj:refactor/junit5-info-controller-test

Conversation

@prashantkumarniraj
Copy link

Migrates InfoControllerTest from JUnit 4 to JUnit 5.

Changes

  • Removed JUnit 4 imports and @RunWith(SpringJUnit4ClassRunner.class)
  • Added JUnit 5 @ExtendWith(SpringExtension.class)
  • Updated org.junit.Test to org.junit.jupiter.api.Test
  • No behavioral or functional changes

The project currently contains a mix of JUnit 4 and JUnit 5 tests.
This change aligns with the CODE_STYLE.md goal to standardize on JUnit 5.

Fixes #11949

@onursumer onursumer force-pushed the refactor/junit5-info-controller-test branch from 03aa73d to 160b78e Compare February 18, 2026 18:04
@onursumer onursumer added the test label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: Migrate InfoControllerTest to JUnit 5

2 participants