Hi, I'm trying to create Unit Tests for my application, i've begun with a very simple example, only calling the index page:
PageTester tester = new PageTester(appPackage, appName, "src/main/webapp", new Class<?>[] { AppModule.class}); Document doc = tester.renderPage("Index"); Element link = doc.getElementById("login"); But I become the next exception: org.apache.tapestry5.internal.services.RenderQueueException Render queue error in BeforeRenderBody[Index:layout.user]: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. My Application uses tynamo for the authentication. I guess, I need to inject it somehow, but I have no idea how can I do it. What should I do? Can somenone help me? Is there any documentation or example somewhere? Thanx very much! -- View this message in context: http://tapestry.1045711.n5.nabble.com/PageTester-with-an-application-that-uses-tynamo-tp4942722p4942722.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org