File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
opengrok-web/src/test/java/org/opengrok/web/api/v1/controller Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 4848
4949import static org .junit .jupiter .api .Assertions .assertEquals ;
5050import static org .junit .jupiter .api .Assertions .assertNotEquals ;
51+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
5152import static org .opengrok .web .api .v1 .controller .HistoryController .getHistoryDTO ;
5253
5354class HistoryControllerTest extends OGKJerseyTest {
@@ -130,6 +131,7 @@ void testHistoryGet() throws Exception {
130131 .get ();
131132 HistoryDTO history = response .readEntity (new GenericType <>() {
132133 });
134+ assertNotNull (history );
133135 assertEquals (size , history .getEntries ().size ());
134136 assertEquals ("Kryštof Tulinger <krystof.tulinger@oracle.com>" , history .getEntries ().get (0 ).getAuthor ());
135137
You can’t perform that action at this time.
0 commit comments