Added test
This commit is contained in:
parent
423c6667a9
commit
fafd94f469
@ -46,7 +46,9 @@ public class App {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* method to import mocked data to testing app after startz. It is called only
|
* 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)
|
@EventListener(ApplicationReadyEvent.class)
|
||||||
public void importData() {
|
public void importData() {
|
||||||
|
@ -15,7 +15,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
|
|
||||||
import com.plannaplan.entities.User;
|
import com.plannaplan.entities.User;
|
||||||
import com.plannaplan.services.ConfiguratorService;
|
|
||||||
import com.plannaplan.services.UserService;
|
import com.plannaplan.services.UserService;
|
||||||
import com.plannaplan.types.UserRoles;
|
import com.plannaplan.types.UserRoles;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user