Skip to content

Conversation

fredysierra
Copy link
Contributor

No description provided.

* closed and removed from the context cache at the end of the class.
*/
@SpringBootTest(classes = Application.class)
@DirtiesContext(classMode = ClassMode.AFTER_CLASS)
@RunWith(SpringJUnit4ClassRunner.class)
@ExtendWith(SpringExtension.class)
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think @ExtendWith(SpringExtension.class) is required with SpringBootTest

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right. Done!

@SteveWyatt74 SteveWyatt74 merged commit 7c3c30e into master Jun 23, 2021
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.

3 participants