Skip to content

Commit 4475d36

Browse files
LPD-94723 Sort
1 parent ae12a35 commit 4475d36

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

modules/dxp/apps/osb/osb-faro/osb-faro-web/src/test/java/com/liferay/osb/faro/web/internal/controller/api/ReportFaroControllerTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ public class ReportFaroControllerTest {
3838

3939
@Before
4040
public void setUp() throws Exception {
41+
ReflectionTestUtils.setField(
42+
_reportFaroController, "contactsEngineClient",
43+
_contactsEngineClient);
44+
4145
Mockito.when(
4246
_faroProjectLocalService.getFaroProjectByGroupId(Mockito.anyLong())
4347
).thenReturn(
@@ -47,9 +51,6 @@ public void setUp() throws Exception {
4751
ReflectionTestUtils.setField(
4852
_reportFaroController, "faroProjectLocalService",
4953
_faroProjectLocalService);
50-
ReflectionTestUtils.setField(
51-
_reportFaroController, "contactsEngineClient",
52-
_contactsEngineClient);
5354
}
5455

5556
@Test

0 commit comments

Comments
 (0)