Refactor (#2538)
This commit is contained in:
parent
89927e4620
commit
6d6b24590f
@ -3,7 +3,6 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.baeldung</groupId>
|
|
||||||
<artifactId>spring-ldap</artifactId>
|
<artifactId>spring-ldap</artifactId>
|
||||||
<version>0.1-SNAPSHOT</version>
|
<version>0.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
@ -19,7 +19,7 @@ import static org.junit.Assert.assertThat;
|
|||||||
@RunWith(SpringJUnit4ClassRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@ActiveProfiles("testlive")
|
@ActiveProfiles("testlive")
|
||||||
@ContextConfiguration(classes = {TestConfig.class}, loader = AnnotationConfigContextLoader.class)
|
@ContextConfiguration(classes = {TestConfig.class}, loader = AnnotationConfigContextLoader.class)
|
||||||
public class LdapDataRepositoryTest {
|
public class LdapDataRepositoryIntegrationTest {
|
||||||
|
|
||||||
private static final String USER2 = "TEST02";
|
private static final String USER2 = "TEST02";
|
||||||
private static final String USER3 = "TEST03";
|
private static final String USER3 = "TEST03";
|
@ -20,16 +20,16 @@ import java.time.ZonedDateTime;
|
|||||||
import static com.baeldung.weather.MetaWeatherClient.getDataByPlaceId;
|
import static com.baeldung.weather.MetaWeatherClient.getDataByPlaceId;
|
||||||
import static com.baeldung.weather.MetaWeatherClient.searchByCityName;
|
import static com.baeldung.weather.MetaWeatherClient.searchByCityName;
|
||||||
|
|
||||||
public class VertxWithRxJavaTest {
|
public class VertxWithRxJavaIntegrationTest {
|
||||||
|
|
||||||
private Vertx vertx;
|
private Vertx vertx;
|
||||||
private HttpClient httpClient;
|
private HttpClient httpClient;
|
||||||
private FileSystem fileSystem;
|
private FileSystem fileSystem;
|
||||||
private static Logger log = LoggerFactory.getLogger(VertxWithRxJavaTest.class);
|
private static Logger log = LoggerFactory.getLogger(VertxWithRxJavaIntegrationTest.class);
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
vertx = io.vertx.reactivex.core.Vertx.vertx();
|
vertx = Vertx.vertx();
|
||||||
httpClient = vertx.createHttpClient();
|
httpClient = vertx.createHttpClient();
|
||||||
fileSystem = vertx.fileSystem();
|
fileSystem = vertx.fileSystem();
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user