Skip to content
Snippets Groups Projects
Commit bcffbc5e authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6798 mock OzgCloudFileServices

parent 275cec3e
Branches
Tags
No related merge requests found
package de.ozgcloud.nachrichten;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.context.annotation.ComponentScan;
......@@ -7,6 +8,7 @@ import org.springframework.context.annotation.ComponentScan;
import de.ozgcloud.apilib.common.command.OzgCloudCommandService;
import de.ozgcloud.apilib.file.OzgCloudFileService;
import de.ozgcloud.nachrichten.postfach.BinaryFileService;
import de.ozgcloud.nachrichten.postfach.muk.MukPostfachConfiguration;
@SpringBootApplication
@ComponentScan(basePackages = "de.ozgcloud.*")
......@@ -15,7 +17,11 @@ public class NachrichtenManagerTestApplication {
@MockBean
private OzgCloudCommandService ozgCloudCommandService;
@MockBean
private OzgCloudFileService ozgCloudFileService;
@Qualifier(NachrichtenManagerConfiguration.OZG_CLOUD_FILE_SERVICE_NAME)
private OzgCloudFileService nachrichtenOzgCloudFileServices;
@MockBean
@Qualifier(MukPostfachConfiguration.OZG_CLOUD_FILE_SERVICE_NAME)
private OzgCloudFileService mukOzgCloudFileServices;
@MockBean
private BinaryFileService binaryFileService;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment