This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ba9fa1  [OPENMEETINGS-2453] tests should be fixed
5ba9fa1 is described below

commit 5ba9fa18033d160d04f03e6728dba624538699c0
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Fri Sep 25 11:26:17 2020 +0700

    [OPENMEETINGS-2453] tests should be fixed
---
 .../org/apache/openmeetings/core/remote/TestRecordingFlowMocked.java   | 3 +++
 .../java/org/apache/openmeetings/core/remote/TestRoomFlowMocked.java   | 3 +++
 2 files changed, 6 insertions(+)

diff --git 
a/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRecordingFlowMocked.java
 
b/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRecordingFlowMocked.java
index 724008b..cf24bc3 100644
--- 
a/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRecordingFlowMocked.java
+++ 
b/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRecordingFlowMocked.java
@@ -29,6 +29,7 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
+import org.apache.openmeetings.IApplication;
 import org.apache.openmeetings.db.dao.record.RecordingDao;
 import org.apache.openmeetings.db.dao.room.RoomDao;
 import org.apache.openmeetings.db.dao.user.UserDao;
@@ -58,6 +59,8 @@ class TestRecordingFlowMocked extends BaseMockedTest {
        private RecordingDao recDao;
        @Mock
        private IClientManager cm;
+       @Mock
+       private IApplication app;
 
        //This variable holds a reference to the current client in the room
        private Client c;
diff --git 
a/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRoomFlowMocked.java
 
b/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRoomFlowMocked.java
index 066e342..8c00ab3 100644
--- 
a/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRoomFlowMocked.java
+++ 
b/openmeetings-core/src/test/java/org/apache/openmeetings/core/remote/TestRoomFlowMocked.java
@@ -26,6 +26,7 @@ import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.lenient;
 import static org.mockito.Mockito.mock;
 
+import org.apache.openmeetings.IApplication;
 import org.apache.openmeetings.db.dao.record.RecordingDao;
 import org.apache.openmeetings.db.dao.room.RoomDao;
 import org.apache.openmeetings.db.dao.user.UserDao;
@@ -53,6 +54,8 @@ class TestRoomFlowMocked extends BaseMockedTest {
        private RecordingDao recDao;
        @Mock
        private IClientManager cm;
+       @Mock
+       private IApplication app;
 
        @Override
        @BeforeEach

Reply via email to