diff --git a/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/util/VariablesService.java b/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/util/VariablesService.java index 547a28d7..aa991ce1 100644 --- a/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/util/VariablesService.java +++ b/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/util/VariablesService.java @@ -22,11 +22,9 @@ package org.eclipse.tractusx.puris.backend.common.util; import lombok.Getter; -import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; -@Slf4j @Getter @Service /** @@ -108,7 +106,6 @@ public String getDemandSubmodelEndpoint() { return getPurisBaseUrl() + getContextPath() + "material-demand/request"; } - @Value("${puris.demandsubmodel.apiassetid}") /** * The assetId that shall be assigned to the request API diff --git a/backend/src/test/java/org/eclipse/tractusx/puris/backend/erpadapter/logic/service/ErpAdapterRequestClientTest.java b/backend/src/test/java/org/eclipse/tractusx/puris/backend/erpadapter/logic/service/ErpAdapterRequestClientTest.java index 086704b5..6b018e5e 100644 --- a/backend/src/test/java/org/eclipse/tractusx/puris/backend/erpadapter/logic/service/ErpAdapterRequestClientTest.java +++ b/backend/src/test/java/org/eclipse/tractusx/puris/backend/erpadapter/logic/service/ErpAdapterRequestClientTest.java @@ -36,7 +36,6 @@ import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; - import java.io.InputStream; import java.util.Date; import java.util.Map; @@ -84,7 +83,6 @@ public void tearDown() throws Exception { mockWebServer.shutdown(); } - @Test public void test_should_success() throws Exception { // given