From 46d286fbe1d023c8cfee78f876e8f9612249927b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 12 Oct 2016 03:39:28 +1300 Subject: Disable mail notification test --- test/org/traccar/notification/NotificiationMailTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test') 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(); -- cgit v1.2.3