Skip to content

Commit 8164462

Browse files
authored
chore: change to WebEnvironment.MOCK in tests. (#113)
It fixes migration to next vaadin version 24.4.x See: vaadin/hilla#2169
1 parent 93e8f1f commit 8164462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

complete/src/test/java/com/example/crudwithvaadin/MainViewTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import org.junit.jupiter.api.Test;
1919
import org.mockito.Mockito;
2020

21-
@SpringBootTest(classes = MainViewTests.Config.class, webEnvironment = SpringBootTest.WebEnvironment.NONE)
21+
@SpringBootTest(classes = MainViewTests.Config.class, webEnvironment = SpringBootTest.WebEnvironment.MOCK)
2222
public class MainViewTests {
2323

2424
@Autowired CustomerRepository repository;

0 commit comments

Comments
 (0)