Added test

This commit is contained in:
Filip Izydorczyk 2021-01-14 14:51:22 +01:00
parent 423c6667a9
commit fafd94f469
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,9 @@ public class App {
/**
* method to import mocked data to testing app after startz. It is called only
* in dev profile
* in dev profile. Note that tests are written to this app state so if you
* change ConfigData it can have an impact to other tests like
* CommisionControllerTest
*/
@EventListener(ApplicationReadyEvent.class)
public void importData() {

View File

@ -15,7 +15,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
import java.nio.charset.Charset;
import com.plannaplan.entities.User;
import com.plannaplan.services.ConfiguratorService;
import com.plannaplan.services.UserService;
import com.plannaplan.types.UserRoles;