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 48
48
49
49
import static org .junit .jupiter .api .Assertions .assertEquals ;
50
50
import static org .junit .jupiter .api .Assertions .assertNotEquals ;
51
+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
51
52
import static org .opengrok .web .api .v1 .controller .HistoryController .getHistoryDTO ;
52
53
53
54
class HistoryControllerTest extends OGKJerseyTest {
@@ -130,6 +131,7 @@ void testHistoryGet() throws Exception {
130
131
.get ();
131
132
HistoryDTO history = response .readEntity (new GenericType <>() {
132
133
});
134
+ assertNotNull (history );
133
135
assertEquals (size , history .getEntries ().size ());
134
136
assertEquals (
"Kryštof Tulinger <[email protected] >" ,
history .
getEntries ().
get (
0 ).
getAuthor ());
135
137
You can’t perform that action at this time.
0 commit comments