fix broken test: AltFilterTest

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-11-16 15:57:28 +11:00
parent 6dad0b1b7e
commit 3b22c6bc66
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class AltFilterTest
{ {
wsb.start(); wsb.start();
FilterHolder filterWebXml = app.getWebAppContext().getServletHandler().getFilter("wsuf-test"); FilterHolder filterWebXml = app.getWebAppContext().getServletHandler().getFilter(WebSocketUpgradeFilter.class.getName());
assertThat("Filter[wsuf-test]", filterWebXml, notNullValue()); assertThat("Filter[wsuf-test]", filterWebXml, notNullValue());
FilterHolder filterSCI = app.getWebAppContext().getServletHandler().getFilter("Jetty_WebSocketUpgradeFilter"); FilterHolder filterSCI = app.getWebAppContext().getServletHandler().getFilter("Jetty_WebSocketUpgradeFilter");