Skip to content

Commit

Permalink
removendo public dos testes
Browse files Browse the repository at this point in the history
  • Loading branch information
alesaudate committed Jun 12, 2024
1 parent 437858a commit 4d909a4
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PassengerAPITestIT {
private int port;

@BeforeEach
public void setup() {
void setup() {
RestAssured.port = port;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class TravelRequestAPITestIT {
private WireMockServer server;

@BeforeEach
public void setup() {
void setup() {
RestAssured.port = port;
}

Expand Down Expand Up @@ -87,7 +87,7 @@ void testFindNearbyTravelRequests() {
;
}

public void setupServer() {
void setupServer() {

server.stubFor(get(urlPathEqualTo("/maps/api/directions/json"))
.withQueryParam("origin", equalTo("Avenida Paulista, 900"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PassengerAPITestIT {
private int port;

@BeforeEach
public void setup() {
void setup() {
RestAssured.baseURI = "https://localhost:" + port;
RestAssured.useRelaxedHTTPSValidation();
RestAssured.authentication = basic("admin", "password");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TravelRequestAPITestIT {
private WireMockServer server;

@BeforeEach
public void setup() {
void setup() {
RestAssured.baseURI = "https://localhost:" + port;
RestAssured.authentication = basic("admin", "password");
RestAssured.useRelaxedHTTPSValidation();
Expand Down Expand Up @@ -95,7 +95,7 @@ void testFindNearbyTravelRequests() {
}


public void setupServer() {
void setupServer() {

server.stubFor(get(urlPathEqualTo("/maps/api/directions/json"))
.withQueryParam("origin", equalTo("Avenida Paulista, 900"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PassengerAPITestIT {
private int port;

@BeforeEach
public void setup() {
void setup() {
RestAssured.baseURI = "https://localhost:" + port;
RestAssured.useRelaxedHTTPSValidation();
RestAssured.authentication = basic("admin", "password");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TravelRequestAPITestIT {
private WireMockServer server;

@BeforeEach
public void setup() {
void setup() {
RestAssured.baseURI = "https://localhost:" + port;
RestAssured.authentication = basic("admin", "password");
RestAssured.useRelaxedHTTPSValidation();
Expand Down Expand Up @@ -95,7 +95,7 @@ void testFindNearbyTravelRequests() {
}


public void setupServer() {
void setupServer() {

server.stubFor(get(urlPathEqualTo("/maps/api/directions/json"))
.withQueryParam("origin", equalTo("Avenida Paulista, 900"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PassengerAPITestIT {
private int port;

@BeforeEach
public void setup() {
void setup() {
RestAssured.baseURI = "https://localhost:" + port;
RestAssured.useRelaxedHTTPSValidation();
RestAssured.authentication = basic("admin", "password");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class TravelRequestAPITestIT {
private WireMockServer server;

@BeforeEach
public void setup() {
void setup() {
RestAssured.baseURI = "https://localhost:" + port;
RestAssured.authentication = basic("admin", "password");
RestAssured.useRelaxedHTTPSValidation();
Expand Down Expand Up @@ -94,7 +94,7 @@ void testFindNearbyTravelRequests() {
}


public void setupServer() {
void setupServer() {

server.stubFor(get(urlPathEqualTo("/maps/api/directions/json"))
.withQueryParam("origin", equalTo("Avenida Paulista, 900"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PassengerAPITestIT {
private int port;

@BeforeEach
public void setup() {
void setup() {
RestAssured.baseURI = "https://localhost:" + port;
RestAssured.useRelaxedHTTPSValidation();
RestAssured.authentication = basic("admin", "password");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void testFindNearbyTravelRequests() {
}


public void setupServer() {
void setupServer() {

server.stubFor(get(urlPathEqualTo("/maps/api/directions/json"))
.withQueryParam("origin", equalTo("Avenida Paulista, 900"))
Expand Down

0 comments on commit 4d909a4

Please sign in to comment.