aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/server/tests/ServerTests.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-23 00:23:23 +0300
committerGravatar Vitaly Takmazov2022-12-23 00:23:23 +0300
commit5470e078691099aeb5e3f0599a7c39b991b149ca (patch)
tree8538abdc0e6af4e66cdaf26a6650f1fa6d0de106 /src/test/java/com/juick/server/tests/ServerTests.java
parenta57278568eb10b843f76ceaa34f0b2ed36acbbb2 (diff)
ActivityPub: send full object on message update
Diffstat (limited to 'src/test/java/com/juick/server/tests/ServerTests.java')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index 1e40ee6e..89c3b089 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -1489,7 +1489,7 @@ public class ServerTests {
Mockito.verify(activityListener, Mockito.times(1)).onApplicationEvent(updateEventCaptor.capture());
UpdateEvent updateEvent = updateEventCaptor.getValue();
assertThat(updateEvent.getUser(), is(ugnich));
- assertThat(profileUriBuilder.messageUri(original.getMid(), 0), is(updateEvent.getMessageUri()));
+ assertThat(original.getMid(), is(updateEvent.getMessage().getMid()));
mockMvc.perform(post("/api/update").with(httpBasic(freefdName, freefdPassword))
.param("mid", String.valueOf(original.getMid())).param("body", "PEOPLE"))
.andExpect(status().is(403));