Ate Douma pushed to branch master at cms-community / hippo-cms
Commits: d4ce9dcd by Ate Douma at 2017-07-04T11:02:53+02:00 CMS-10820 Remove usage and dependency on root node SNS support (unit-tests only) - - - - - 1 changed file: - test/src/test/java/org/hippoecm/frontend/model/event/ObservationTest.java Changes: ===================================== test/src/test/java/org/hippoecm/frontend/model/event/ObservationTest.java ===================================== --- a/test/src/test/java/org/hippoecm/frontend/model/event/ObservationTest.java +++ b/test/src/test/java/org/hippoecm/frontend/model/event/ObservationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2013 Hippo B.V. (http://www.onehippo.com) + * Copyright 2008-2017 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -226,13 +226,17 @@ public class ObservationTest extends PluginTest { // after unregistering, no events should be received - root.addNode("test", "nt:unstructured"); + root.addNode("test2", "nt:unstructured"); session.save(); Thread.sleep(1000); home.processEvents(); assertEquals(1, events.size()); + + // cleanup + root.getNode("test2").remove(); + session.save(); } @Test View it on GitLab: https://code.onehippo.org/cms-community/hippo-cms/commit/d4ce9dcdc512b03d9b30e1b0cb018bb0bf1f3005
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn