Fixed broken unit test
This commit is contained in:
parent
f12d251d76
commit
932c45f897
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user