fixed baseURL
This commit is contained in:
parent
704427b340
commit
a7e1b7360c
2 changed files with 3 additions and 1 deletions
|
@ -18,9 +18,10 @@ public class ApiHelper {
|
|||
int partitions = 1;
|
||||
short replicationFactor = 1;
|
||||
String newTopic = "new-topic";
|
||||
String baseURL = "http://localhost:8080/";
|
||||
@SneakyThrows
|
||||
private void sendRequest(String method, String additionalURL, JSONObject jsonObject){
|
||||
URL url = new URL(TestConfiguration.BASE_URL+additionalURL);
|
||||
URL url = new URL(baseURL+additionalURL);
|
||||
HttpURLConnection con = (HttpURLConnection) url.openConnection();
|
||||
con.setDoOutput(true);
|
||||
con.setDoInput(true);
|
||||
|
|
|
@ -6,6 +6,7 @@ import com.provectus.kafka.ui.steps.kafka.KafkaSteps;
|
|||
import com.provectus.kafka.ui.helpers.ApiHelper;
|
||||
import lombok.SneakyThrows;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayName;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue