|
68 | 68 | import com.vaadin.flow.server.ServiceException;
|
69 | 69 | import com.vaadin.flow.server.startup.ApplicationRouteRegistry;
|
70 | 70 | import com.vaadin.tests.util.AlwaysLockedVaadinSession;
|
71 |
| -import com.vaadin.tests.util.MockDeploymentConfiguration; |
72 | 71 | import com.vaadin.tests.util.MockUI;
|
73 | 72 |
|
74 | 73 | import elemental.json.Json;
|
@@ -287,7 +286,6 @@ public void handle_preserveOnRefreshAndWindowNameKnown_componentIsCachedRetrieve
|
287 | 286 |
|
288 | 287 | // given a locked session
|
289 | 288 | MockVaadinSession session = new AlwaysLockedVaadinSession(service);
|
290 |
| - session.setConfiguration(new MockDeploymentConfiguration()); |
291 | 289 |
|
292 | 290 | // given a UI that contain a window name ROOT.123
|
293 | 291 | MockUI ui1 = new MockUI(session);
|
@@ -356,7 +354,6 @@ public void handle_preserveOnRefresh_refreshIsFlaggedInEvent() {
|
356 | 354 |
|
357 | 355 | // given a locked session
|
358 | 356 | MockVaadinSession session = new AlwaysLockedVaadinSession(service);
|
359 |
| - session.setConfiguration(new MockDeploymentConfiguration()); |
360 | 357 |
|
361 | 358 | // given a UI that contain a window name ROOT.123
|
362 | 359 | MockUI ui = new MockUI(session);
|
@@ -409,7 +406,6 @@ public void handle_preserveOnRefresh_otherUIChildrenAreMoved() {
|
409 | 406 |
|
410 | 407 | // given a locked session
|
411 | 408 | MockVaadinSession session = new AlwaysLockedVaadinSession(service);
|
412 |
| - session.setConfiguration(new MockDeploymentConfiguration()); |
413 | 409 |
|
414 | 410 | // given a NavigationStateRenderer mapping to PreservedView
|
415 | 411 | NavigationStateRenderer renderer = new NavigationStateRenderer(
|
@@ -456,7 +452,6 @@ public void handle_preserveOnRefreshView_routerLayoutIsPreserved_oldUiIsClosed()
|
456 | 452 |
|
457 | 453 | // given a locked session
|
458 | 454 | MockVaadinSession session = new AlwaysLockedVaadinSession(service);
|
459 |
| - session.setConfiguration(new MockDeploymentConfiguration()); |
460 | 455 |
|
461 | 456 | // given a NavigationStateRenderer mapping to PreservedNestedView
|
462 | 457 | Router router = session.getService().getRouter();
|
@@ -510,7 +505,6 @@ public void handle_preserveOnRefresh_sameUI_uiIsNotClosed_childrenAreNotRemoved(
|
510 | 505 |
|
511 | 506 | // given a locked session
|
512 | 507 | MockVaadinSession session = new AlwaysLockedVaadinSession(service);
|
513 |
| - session.setConfiguration(new MockDeploymentConfiguration()); |
514 | 508 |
|
515 | 509 | // given a NavigationStateRenderer mapping to PreservedView
|
516 | 510 | NavigationStateRenderer renderer = new NavigationStateRenderer(
|
@@ -582,7 +576,6 @@ public void handle_variousInputs_checkPushStateShouldBeCalledOrNot() {
|
582 | 576 |
|
583 | 577 | // given a locked session
|
584 | 578 | MockVaadinSession session = new AlwaysLockedVaadinSession(service);
|
585 |
| - session.setConfiguration(new MockDeploymentConfiguration()); |
586 | 579 |
|
587 | 580 | // given a NavigationStateRenderer mapping to RegularView
|
588 | 581 | new NavigationStateBuilder(router).withTarget(RegularView.class)
|
|
0 commit comments