Skip to content

Commit

Permalink
Mosip 22874 authtype lock websub issue 4 (#855)
Browse files Browse the repository at this point in the history
* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

* Fix for notification count for entries having olv partner id

* junit fix

---------

Co-authored-by: Loganathan Sekar <[email protected]>
  • Loading branch information
loganathan-sekaran and Loganathan Sekar authored Apr 11, 2023
1 parent 2c2c7ec commit da7fad5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.springframework.data.domain.PageImpl;
import org.springframework.http.HttpStatus;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.util.ReflectionTestUtils;

import io.mosip.kernel.core.http.ResponseWrapper;
import io.mosip.kernel.core.templatemanager.spi.TemplateManager;
Expand Down Expand Up @@ -154,6 +155,7 @@ public void setup() throws Exception {
Mockito.when(entityManager.createNativeQuery(Mockito.anyString(), (Class) Mockito.any())).thenReturn(query);
Mockito.when(entityManager.createNativeQuery(Mockito.anyString())).thenReturn(query);
Mockito.when(query.getSingleResult()).thenReturn(BigInteger.valueOf(1));
ReflectionTestUtils.setField(residentServiceImpl, "onlineVerificationPartnerId", "partner1");
}

@Test
Expand Down

0 comments on commit da7fad5

Please sign in to comment.