File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/test/java/de/bsi/secvisogram/csaf_cms_backend/service Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,7 @@ public class AdvisorySearchUtilTest {
3636 @ Test
3737 @ WithMockUser (username = "editor" , authorities = {CsafRoles .ROLE_REGISTERED , CsafRoles .ROLE_AUTHOR })
3838 public void getAdvisoryInformationsTest_documentTitle () throws IOException , CsafException {
39- IdAndRevision idRev1 = null ;
40- try {
41- idRev1 = this .advisoryService .addAdvisory (csafToRequest (csafJsonTitle ("title1" )));
42- }catch (Exception e ) {
43- System .out .println (e .toString ());
44- System .err .println (e .toString ());
45- e .printStackTrace ();
46- }
39+ IdAndRevision idRev1 = this .advisoryService .addAdvisory (csafToRequest (csafJsonTitle ("title1" )));
4740 this .advisoryService .addAdvisory (csafToRequest (csafJsonTitle ("title2" )));
4841 List <AdvisoryInformationResponse > infos = this .advisoryService .getAdvisoryInformations (createExprDocumentTitle ("title1" ));
4942 List <String > expectedIDs = List .of (idRev1 .getId ());
You can’t perform that action at this time.
0 commit comments