Skip to content

Commit 06f7e44

Browse files
committed
assert the message is in
1 parent ffe6d67 commit 06f7e44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-web/src/test/java/org/opengrok/web/PageConfigTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ void testIsNotModifiedNotModified() {
765765
Collections.singleton(projectName),
766766
Message.MessageLevel.INFO,
767767
Duration.ofMinutes(100)));
768+
assertEquals(1, env.getMessages(projectName).size());
768769

769770
DummyHttpServletRequest req = mock(DummyHttpServletRequest.class);
770771
when(req.getPathInfo()).thenReturn("/mercurial/main.c");

0 commit comments

Comments
 (0)