aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-05 11:22:33 +0300
committerGravatar Vitaly Takmazov2018-10-05 11:22:33 +0300
commit0a67254245046236f82733c95e84a23ffcfdc45c (patch)
tree1f77eabc32a2d5a2bfe860ade50eaf6efd6379f6 /juick-server/src/test
parent07ac8017afa883f0fb3748a02bc1236882bfd06c (diff)
ActivityPub: change Note uri
Diffstat (limited to 'juick-server/src/test')
-rw-r--r--juick-server/src/test/java/com/juick/server/tests/ServerTests.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
index 92fc0678..38845cd7 100644
--- a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
@@ -1706,15 +1706,4 @@ public class ServerTests {
.andExpect(status().isOk()).andReturn();
String xrd = result.getResponse().getContentAsString();
}
- @Test
- public void contentNegotiationTest() throws Exception {
- int mid = messagesService.createMessage(ugnich.getUid(),"TXT", null, Collections.emptyList());
- mockMvc.perform(get("/m/" + mid)
- .header("Accept", "text/html")).andExpect(status().is3xxRedirection());
- mockMvc.perform(get("/m/" + mid)
- .header("Accept", "application/activity+json")).andExpect(status().isOk());
- mockMvc.perform(get("/m/" + mid)
- .header("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"))
- .andExpect(status().is3xxRedirection());
- }
}