|
@@ -2,7 +2,7 @@ package com.goafanti.core.auth;
|
|
|
|
|
|
|
|
import java.util.Base64;
|
|
import java.util.Base64;
|
|
|
|
|
|
|
|
-import org.junit.Test;
|
|
|
|
|
|
|
+
|
|
|
import org.springframework.http.HttpEntity;
|
|
import org.springframework.http.HttpEntity;
|
|
|
import org.springframework.http.HttpHeaders;
|
|
import org.springframework.http.HttpHeaders;
|
|
|
import org.springframework.http.HttpMethod;
|
|
import org.springframework.http.HttpMethod;
|
|
@@ -36,7 +36,7 @@ public class RestClient {
|
|
|
return response.getBody();
|
|
return response.getBody();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @Test
|
|
|
|
|
|
|
+// @Test
|
|
|
public void testLogin() {
|
|
public void testLogin() {
|
|
|
System.out.println(sendToBs("login", HttpMethod.GET, null));
|
|
System.out.println(sendToBs("login", HttpMethod.GET, null));
|
|
|
}
|
|
}
|