This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 20ec2cee authored by Michael Breu's avatar Michael Breu
Browse files

Fixing Tests

parent 6e9772eb
1 merge request!211Merge new meta data indexing
......@@ -10,6 +10,7 @@ import at.ac.uibk.gitsearch.domain.enumeration.CheckFrequency;
import at.ac.uibk.gitsearch.repository.jpa.UserWatchListRepository;
import at.ac.uibk.gitsearch.repository.search.testESService.ElasticSearchTestConfiguration;
import at.ac.uibk.gitsearch.service.dto.AdminUserDTO;
import java.io.IOException;
import java.time.Instant;
import java.time.LocalDateTime;
......@@ -18,6 +19,7 @@ import java.util.HashSet;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
import org.codeability.sharing.plugins.api.search.SearchResultDTO;
import org.elasticsearch.node.NodeValidationException;
import org.junit.jupiter.api.AfterAll;
......@@ -26,7 +28,6 @@ import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.mockito.Mock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.core.AutoConfigureCache;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.auditing.DateTimeProvider;
import org.springframework.transaction.annotation.Transactional;
......@@ -36,7 +37,6 @@ import org.springframework.transaction.annotation.Transactional;
*/
@SpringBootTest(classes = GitsearchApp.class)
@Transactional
@AutoConfigureCache
public class UserWatchListServiceIT {
private static final String DEFAULT_LOGIN = "johndoe";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment