fix use-case tests
This commit is contained in:
parent
ddf3005729
commit
50f94e8581
1 changed files with 2 additions and 6 deletions
|
@ -232,27 +232,23 @@ import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.useraccount.NewUs
|
|||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.useraccount.RegisterNewUser;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.useraccount.SaveUserAccount;
|
||||
import ch.ethz.seb.sebserver.webservice.servicelayer.dao.SEBClientConfigDAO;
|
||||
import ch.ethz.seb.sebserver.webservice.servicelayer.lms.LmsAPIService;
|
||||
|
||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||
|
||||
public class UseCasesIntegrationTest extends GuiIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private Cryptor cryptor;
|
||||
@Autowired
|
||||
private LmsAPIService lmsAPIService;
|
||||
|
||||
@Before
|
||||
@Sql(scripts = { "classpath:schema-test.sql", "classpath:data-test.sql" })
|
||||
public void init() {
|
||||
this.lmsAPIService.cleanup();
|
||||
|
||||
}
|
||||
|
||||
@After
|
||||
@Sql(scripts = { "classpath:schema-test.sql", "classpath:data-test.sql" })
|
||||
public void cleanup() {
|
||||
this.lmsAPIService.cleanup();
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in a new issue