Fix merge from 9.4 for #4737

This commit is contained in:
Jan Bartel 2020-04-06 14:30:38 +02:00
parent d94a1bfdac
commit f57a170e99

View File

@ -243,9 +243,6 @@ public class LifeCycleCallbackCollectionTest
PreDestroyCallback pdBoth = new PreDestroyCallback(TestServlet.class, "predestroy");
collection.add(pdBoth);
//ensure we invoke the lifecyclecallbacks
context.getObjectFactory().addDecorator(new PlusDecorator(context));
server.start();
assertEquals(4, TestServlet.postConstructCount);