aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src/test')
-rw-r--r--juick-core/src/test/java/com/juick/MessageTest.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/juick-core/src/test/java/com/juick/MessageTest.java b/juick-core/src/test/java/com/juick/MessageTest.java
index b420edfa..3bdac9be 100644
--- a/juick-core/src/test/java/com/juick/MessageTest.java
+++ b/juick-core/src/test/java/com/juick/MessageTest.java
@@ -128,31 +128,6 @@ public class MessageTest {
}
@Test
- public void attachmentURLShouldBeReturnCorrectResult() throws Exception {
- Message message1 = new Message();
-
- assertThat(message1.getAttachmentURL(), nullValue());
-
- message1.setAttachmentType("jpeg");
-
- assertThat(message1.getAttachmentURL(), equalTo("http://i.juick.com/photos-1024/0.jpeg"));
-
- message1.setRid(1);
-
- assertThat(message1.getAttachmentURL(), equalTo("http://i.juick.com/photos-1024/0-1.jpeg"));
-
- Message message2 = new Message();
-
- message2.setAttachmentType("mp4");
-
- assertThat(message2.getAttachmentURL(), equalTo("http://i.juick.com/video/0.mp4"));
-
- message2.setRid(1);
-
- assertThat(message2.getAttachmentURL(), equalTo("http://i.juick.com/video/0-1.mp4"));
- }
-
- @Test
public void tagsStringShouldBeEmptyIfNoTags() throws Exception {
Message message = new Message();