aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-12 03:39:28 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-12 03:39:28 +1300
commit46d286fbe1d023c8cfee78f876e8f9612249927b (patch)
tree5e7af2b395f243834e01a7dd6023f06b2214ddfd /test/org
parent18d39ff2412b9aced899915d0187f21eb25f49b6 (diff)
downloadtrackermap-server-46d286fbe1d023c8cfee78f876e8f9612249927b.tar.gz
trackermap-server-46d286fbe1d023c8cfee78f876e8f9612249927b.tar.bz2
trackermap-server-46d286fbe1d023c8cfee78f876e8f9612249927b.zip
Disable mail notification test
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/notification/NotificiationMailTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/org/traccar/notification/NotificiationMailTest.java b/test/org/traccar/notification/NotificiationMailTest.java
index 41c895ef8..adb7b5c15 100644
--- a/test/org/traccar/notification/NotificiationMailTest.java
+++ b/test/org/traccar/notification/NotificiationMailTest.java
@@ -1,8 +1,6 @@
package org.traccar.notification;
-import org.junit.Assert;
import org.junit.Test;
-import org.traccar.location.CellInfo;
import javax.mail.Message;
import javax.mail.Session;
@@ -26,7 +24,7 @@ public class NotificiationMailTest {
private static final int PORT = 25;
- @Test
+ //@Test
public void test() throws Exception {
Properties props = System.getProperties();
@@ -43,7 +41,7 @@ public class NotificiationMailTest {
msg.setFrom(new InternetAddress(FROM));
msg.setRecipient(Message.RecipientType.TO, new InternetAddress(TO));
msg.setSubject(SUBJECT);
- msg.setContent(BODY,"text/plain");
+ msg.setContent(BODY, "text/plain");
Transport transport = session.getTransport();