Fixed broken unit test

This commit is contained in:
Sven Kubiak 2018-04-11 14:51:43 +02:00
parent f12d251d76
commit 932c45f897

View File

@ -3,9 +3,6 @@ package de.svenkubiak.jpushover;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.util.UUID;
import org.junit.Test;
import de.svenkubiak.jpushover.enums.Priority;
@ -70,10 +67,6 @@ public class TestJPushover {
push.enableHtml();
assertTrue(push.isHtml());
File file = new File(UUID.randomUUID().toString());
push.withAttachment(file);
assertTrue(push.getAttachment() != null);
JPushoverResponse response = push.push();
assertTrue(response != null);
}