Refactor DataLoader
This commit is contained in:
parent
a9700891ef
commit
ba75c37366
@ -6,15 +6,14 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(classes = {Application.class})
|
||||
public class DataLoader {
|
||||
@ContextConfiguration(classes = { Application.class })
|
||||
public class DataLoaderTest {
|
||||
|
||||
@Test
|
||||
public void exampleTest() {
|
||||
@Test
|
||||
public void exampleTest() {
|
||||
RestTemplate restTemplate = new RestTemplate();
|
||||
restTemplate.getForObject("http://localhost:8080/startNotification/10", String.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user