Merge pull request #31914 from quaff

* pr/31914:
  Add missing @Test
  Fix @Nested class not be executed

Closes gh-31914
This commit is contained in:
Stéphane Nicoll 2023-12-28 11:40:56 +01:00
commit 28a7b6103a
2 changed files with 2 additions and 1 deletions

View File

@ -121,6 +121,7 @@ public class SimpleMailMessageTests {
assertThat(message2.hashCode()).isEqualTo(message1.hashCode());
}
@Test
public final void testEqualsObject() {
SimpleMailMessage message1;
SimpleMailMessage message2;

View File

@ -488,7 +488,7 @@ class ApplicationContextAotGeneratorTests {
}
@Nested
static class ActiveProfile {
class ActiveProfile {
@ParameterizedTest
@MethodSource("activeProfilesParameters")