mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-19 21:41:03 +08:00
bugfix: sync message reactions via websocket
This commit is contained in:
@@ -14,6 +14,7 @@ import com.openisle.model.Reaction;
|
||||
import com.openisle.model.ReactionType;
|
||||
import com.openisle.model.User;
|
||||
import com.openisle.service.LevelService;
|
||||
import com.openisle.service.PointService;
|
||||
import com.openisle.service.ReactionService;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.Mockito;
|
||||
@@ -39,6 +40,9 @@ class ReactionControllerTest {
|
||||
@MockBean
|
||||
private LevelService levelService;
|
||||
|
||||
@MockBean
|
||||
private PointService pointService;
|
||||
|
||||
@Test
|
||||
void reactToPost() throws Exception {
|
||||
User user = new User();
|
||||
|
||||
Reference in New Issue
Block a user