20 lines
592 B
Java
20 lines
592 B
Java
package org.gcube.portlet.user.userstatisticsportlet.client;
|
|
|
|
import static org.junit.Assert.assertTrue;
|
|
|
|
import org.gcube.portlet.user.userstatisticsportlet.server.ServerUtils;
|
|
import org.gcube.portlet.user.userstatisticsportlet.server.UserStatisticsServiceImpl;
|
|
import org.junit.Test;
|
|
|
|
public class TestForDeploy {
|
|
|
|
@Test
|
|
public void testUserIsTestUser() {
|
|
String username = ServerUtils.getDevelopmentUser();
|
|
System.out.println("username for deploy is: " + username);
|
|
assertTrue(username.compareTo(UserStatisticsServiceImpl.TEST_USER) == 0);
|
|
System.out.println("Test OK!");
|
|
}
|
|
|
|
}
|