Skip to content

Clean up test annotations#817

Draft
dennisvang wants to merge 5 commits into
feature/634-boostrapping-fdpfrom
refactor/816-test-annotations
Draft

Clean up test annotations#817
dennisvang wants to merge 5 commits into
feature/634-boostrapping-fdpfrom
refactor/816-test-annotations

Conversation

@dennisvang

@dennisvang dennisvang commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

fixes #816 (see issue for detailed description)

…on-overriding

The @componentscan is redundant when using @SpringBootApplication and even causes problems as described in #816.
Althoug it cannot be verified, it looks like allow-bean-definition-overriding=true was added to mitigate these problems, as both were added in the same large commit.
this is redundant because @SpringBootTest already configures MVC, and the global annotation prevented us from creating test slices using e.g. @DataJpaTest
@dennisvang dennisvang added chore Maintenance improvement Existing functionality that can be improved labels Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance improvement Existing functionality that can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant