diff --git a/app/src/test/java/uk/ac/ebi/atlas/configuration/TestConfig.java b/app/src/test/java/uk/ac/ebi/atlas/configuration/TestConfig.java index 7d4c541d..6a64d674 100644 --- a/app/src/test/java/uk/ac/ebi/atlas/configuration/TestConfig.java +++ b/app/src/test/java/uk/ac/ebi/atlas/configuration/TestConfig.java @@ -6,6 +6,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.FilterType; import org.springframework.web.client.RestTemplate; +import uk.ac.ebi.atlas.experiments.ExperimentCellCountDao; @Configuration // Enabling component scanning will also load BasePathsConfig, JdbcConfig and SolrConfig, so just using this class as @@ -22,4 +23,9 @@ public class TestConfig { public RestTemplate restTemplate() { return new RestTemplate(); } + + @Bean + public ExperimentCellCountDao experimentCellCountDao() { + return __ -> 0; + } }