Skip to content

Commit

Permalink
SUFM-15 Fix MailerLiteGatewayTest
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocsontos committed Jul 2, 2018
1 parent 76f269a commit ced40a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
Expand Up @@ -2,8 +2,8 @@

import static org.springframework.http.HttpMethod.POST;

import com.springuni.forgetme.datahandler.adapter.AbstractDataHandlerGatewayTest;
import com.springuni.forgetme.core.integration.DataHandlerGateway;
import com.springuni.forgetme.datahandler.adapter.AbstractDataHandlerGatewayTest;
import java.net.URI;
import org.springframework.http.HttpMethod;
import org.springframework.retry.RetryOperations;
Expand All @@ -25,7 +25,7 @@ protected HttpMethod expectedHttpMethod() {

@Override
protected URI expectedUrl() {
return URI.create("http://api.mailerlite.com/api/v2/subscribers/" + EMAIL + "/forget");
return URI.create("https://api.mailerlite.com/api/v2/subscribers/" + EMAIL + "/forget");
}

}
Expand Up @@ -9,8 +9,6 @@
import static org.mockito.Mockito.verify;

import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.springframework.http.HttpRequest;
Expand Down
@@ -1,11 +1,2 @@
package com.springuni.forgetme.datahandler.adapter;

import java.net.URI;
import java.util.Objects;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
import org.springframework.http.HttpMethod;
import org.springframework.http.RequestEntity;

0 comments on commit ced40a0

Please sign in to comment.