fixed test

This commit is contained in:
Luca Frosini 2022-04-07 16:57:35 +02:00
parent 0f86ce828d
commit d1deb98377
1 changed files with 4 additions and 2 deletions

View File

@ -22,8 +22,10 @@ public class ModerationThreadTest extends ContextTest {
moderationThread.setCKANUser(ckanUser);
moderationThread.postItemCreated();
moderationThread.postItemUpdated();
moderationThread.postItemRejected("Non mi garba");
moderationThread.postItemApproved("Ora mi garba");
moderationThread.postItemRejected(null);
moderationThread.postItemRejected("reject con messaggio: Non mi garba");
moderationThread.postItemApproved(null);
moderationThread.postItemApproved("approve con messaggio: Ora mi garba");
moderationThread.setItemAuthor(true);
moderationThread.postUserMessage(CMItemStatus.APPROVED, "Grazie");
Thread.sleep(1000);