Skip to content

Commit

Permalink
Implement missing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsomunozpomer committed Oct 3, 2023
1 parent a669030 commit 0a59eec
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -22,4 +23,9 @@ public class TestConfig {
public RestTemplate restTemplate() {
return new RestTemplate();
}

@Bean
public ExperimentCellCountDao experimentCellCountDao() {
return __ -> 0;
}
}

0 comments on commit 0a59eec

Please sign in to comment.