26 lines
663 B
Java
26 lines
663 B
Java
package restImplementation;
|
|
|
|
import database.user.User;
|
|
import org.junit.Ignore;
|
|
import org.junit.Test;
|
|
|
|
import java.util.Map;
|
|
|
|
@Ignore
|
|
public class UserLoggerTest {
|
|
@Test
|
|
public void testLoggerUser(){
|
|
try{
|
|
User user = new User();
|
|
user.setPassword("newPassword");
|
|
user.setEmail("thomas.marshal@gmail.com");
|
|
|
|
DatabaseUserImplementation databaseUserImplementation = new DatabaseUserImplementation();
|
|
Map<String, String> res = databaseUserImplementation.userLogger(user);
|
|
System.out.println(res);
|
|
}catch (Exception e){
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
}
|