Skip to content

Commit

Permalink
chore: change to WebEnvironment.MOCK in tests. (#113)
Browse files Browse the repository at this point in the history
It fixes migration to next vaadin version 24.4.x
See: vaadin/hilla#2169
  • Loading branch information
manolo authored Jun 12, 2024
1 parent 93e8f1f commit 8164462
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;

@SpringBootTest(classes = MainViewTests.Config.class, webEnvironment = SpringBootTest.WebEnvironment.NONE)
@SpringBootTest(classes = MainViewTests.Config.class, webEnvironment = SpringBootTest.WebEnvironment.MOCK)
public class MainViewTests {

@Autowired CustomerRepository repository;
Expand Down

0 comments on commit 8164462

Please sign in to comment.