summaryrefslogtreecommitdiffstats
path: root/server/tests/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/src/com')
-rw-r--r--server/tests/src/com/vaadin/tests/server/navigator/NavigatorTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/src/com/vaadin/tests/server/navigator/NavigatorTest.java b/server/tests/src/com/vaadin/tests/server/navigator/NavigatorTest.java
index fa48e4bff6..bcc4c83b1e 100644
--- a/server/tests/src/com/vaadin/tests/server/navigator/NavigatorTest.java
+++ b/server/tests/src/com/vaadin/tests/server/navigator/NavigatorTest.java
@@ -312,7 +312,7 @@ public class NavigatorTest extends TestCase {
// test navigator
navigator.addProvider(provider);
- navigator.addListener(listener);
+ navigator.addViewChangeListener(listener);
navigator.navigateTo("test1");
navigator.navigateTo("test2");
@@ -385,8 +385,8 @@ public class NavigatorTest extends TestCase {
// test navigator
navigator.addProvider(provider);
- navigator.addListener(listener1);
- navigator.addListener(listener2);
+ navigator.addViewChangeListener(listener1);
+ navigator.addViewChangeListener(listener2);
navigator.navigateTo("test1");
navigator.navigateTo("test1/test");