Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: added check if repository is null in CucumberJpaReset #10278

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

richersoon
Copy link
Contributor

Close #10097

@@ -18,6 +18,10 @@ public class CucumberJpaReset {
@Before
@Transactional
public void wipeData() {
if (repositories == null) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure that will be enough without de required false on the repositories injection

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've also added the required false on repositories injection, please check @DamnClin . thanks

@pascalgrimaud
Copy link
Member

Thanks for your contribution @richersoon

@pascalgrimaud pascalgrimaud merged commit aa04692 into jhipster:main Jul 14, 2024
34 checks passed
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.

Cucumber JPA reset should not fail without repository
3 participants