Ignore @NestedTestConfiguration on enclosing class for nested interface

Closes gh-25917
This commit is contained in:
Sam Brannen
2020-10-14 14:11:10 +02:00
parent 69af56c4e9
commit a271a0a2bf
3 changed files with 34 additions and 22 deletions

View File

@@ -161,12 +161,6 @@ class TestPropertySourceNestedTests {
}
@Nested
// The following explicit INHERIT is necessary since this nested
// test class implements an interface whose enclosing class is
// annotated with @NestedTestConfiguration(OVERRIDE). In other
// words, the local declaration overrides the declaration
// "inherited" via the interface.
@NestedTestConfiguration(INHERIT)
class L5WithInheritedConfigAndTestInterfaceTests implements TestInterface {
@Autowired