From 50f94e858178836269b34696218ca53df9ee13ea Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 24 Mar 2022 17:28:19 +0100 Subject: [PATCH] fix use-case tests --- .../gui/integration/UseCasesIntegrationTest.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java b/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java index 3965aa8e..71098fb5 100644 --- a/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java +++ b/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java @@ -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