Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuznik committed Dec 2, 2024
1 parent 6845bc6 commit 96a77f4
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import pl.ateam.disasteralerts.API.WeatherMonitoringFacade;
import pl.ateam.disasteralerts.disaster.enums.DisasterStatus;
import pl.ateam.disasteralerts.security.AppUser;
import pl.ateam.disasteralerts.user.UserFacade;
import pl.ateam.disasteralerts.user.dto.UserDTO;

import java.util.List;
Expand All @@ -21,9 +24,15 @@ public class DisasteralertIT extends PSQLTestConatiner {
@Autowired
DisasterRepository disasterRepository;

@Autowired
UserFacade userFacade;

@Autowired
MockMvc mockMvc;

@MockBean
WeatherMonitoringFacade weatherMonitoringFacade;

AppUser appUser = getTestAppUser();

@BeforeEach
Expand Down

0 comments on commit 96a77f4

Please sign in to comment.