Skip to content

Commit

Permalink
[MOSIP-37358]Update readme
Browse files Browse the repository at this point in the history
Signed-off-by: JanardhanBS-SyncByte <[email protected]>
  • Loading branch information
JanardhanBS-SyncByte committed Nov 25, 2024
1 parent e7e86a8 commit adaed7b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ public class ConvertController {
*/
private IConverterApi converterService;

@Autowired
public ConvertController(IConverterApi converterService) {
this.converterService = converterService;
}
/**
* Constructor for initializing the controller with a converter service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,14 @@ public void t0121ConvertTest() throws Exception {
* @throws Exception if an error occurs during execution
*/
@Test
<<<<<<< HEAD
@WithMockUser("reg-officer")
public void t013ConvertTest() throws Exception {
=======
@WithUserDetails("reg-officer")
public void t013ConvertTest() //
throws Exception {
>>>>>>> 75a80aa ([MOSIP-33316])
FileInputStream fis = new FileInputStream("src/test/resources/face.txt");
String bioData = IOUtils.toString(fis, StandardCharsets.UTF_8);
String req = "{" + "\"values\":{" + "\"Face\": \"" + bioData + "\"" + "},"
Expand All @@ -499,9 +505,16 @@ public void t013ConvertTest() throws Exception {
* @throws Exception if an error occurs during execution
*/
@Test
<<<<<<< HEAD
@WithMockUser("reg-officer")
@SuppressWarnings({ "java:S4144" })
public void t0131ConvertTest() throws Exception {
=======
@WithUserDetails("reg-officer")
@SuppressWarnings({ "java:S4144" })
public void t0131ConvertTest()
throws Exception {
>>>>>>> 75a80aa ([MOSIP-33316])
FileInputStream fis = new FileInputStream("src/test/resources/face.txt");
String bioData = IOUtils.toString(fis, StandardCharsets.UTF_8);
String req = "{" + "\"values\":{" + "\"Face\": \"" + bioData + "\"" + "},"
Expand Down

0 comments on commit adaed7b

Please sign in to comment.