Skip to content

Commit

Permalink
turn off integration tests with @disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
david-blasby committed Dec 10, 2024
1 parent e344927 commit 4bb2d7e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

import org.geonetwork.testing.GeoNetwork4BasedIntegrationTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.test.web.servlet.MockMvc;

@Disabled
class GeoNetworkProxyTest extends GeoNetwork4BasedIntegrationTest {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
Expand All @@ -19,6 +20,7 @@

@SpringBootTest
@AutoConfigureMockMvc
@Disabled
class HttpProxyConfigurationTest {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
import org.geonetwork.domain.repository.UserRepository;
import org.geonetwork.domain.repository.UsergroupRepository;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

@Disabled
class DatabaseUserDetailsServiceTest {

@Mock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.util.TestPropertyValues;
Expand All @@ -36,6 +37,7 @@
@ActiveProfiles(value = {"prod", "test"})
@Slf4j
@ContextConfiguration(initializers = GeoNetwork4BasedIntegrationTest.class)
@Disabled
public class GeoNetwork4BasedIntegrationTest implements ApplicationContextInitializer<ConfigurableApplicationContext> {

public static final String GEONETWORK4_SERVICE = "geonetwork-1";
Expand Down

0 comments on commit 4bb2d7e

Please sign in to comment.