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

Skip to content
Snippets Groups Projects
Commit 23d8de8a authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Testing Tests

parent fe7b64c1
1 merge request!17Initial Merge to Prepare Release 1.0.0
......@@ -2,8 +2,6 @@ package at.ac.uibk.gitsearch.service;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.codeability.sharing.plugins.api.SharingPluginConfig;
import org.codeability.sharing.plugins.api.SharingPluginConfig.Action;
......
......@@ -12,15 +12,12 @@ import static org.junit.Assert.assertTrue;
import java.io.IOException;
import at.ac.uibk.gitsearch.service.dto.SearchInputMetadataDTO;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.elasticsearch.node.NodeValidationException;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.MockitoAnnotations;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.security.test.context.support.WithMockUser;
......@@ -28,13 +25,14 @@ import org.springframework.security.test.context.support.WithMockUser;
import at.ac.uibk.gitsearch.GitsearchApp;
import at.ac.uibk.gitsearch.repository.search.testESService.ElasticSearchTestServerConfiguration;
import at.ac.uibk.gitsearch.service.dto.SearchInputDTO;
import at.ac.uibk.gitsearch.service.dto.SearchInputMetadataDTO;
import at.ac.uibk.gitsearch.service.dto.SearchResultsDTO;
/**
* Integration tests for {@link MailService}.
*/
@SpringBootTest(classes = GitsearchApp.class)
@WithMockUser(value = TEST_USER_LOGIN)
//@WithMockUser(value = TEST_USER_LOGIN)
public class SearchServiceIT {
public static final Logger LOGGER = LogManager.getLogger(SearchServiceIT.class);
......
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