Commit 4e3584de authored by Piotr Gawron's avatar Piotr Gawron

comments require access to model

parent 2a562921
Pipeline #26521 passed with stage
in 12 minutes and 52 seconds
......@@ -40,13 +40,6 @@ public class CommentRestImplTest extends RestTestFunctions {
_commentRestImpl.getCommentList("unk", "", "", "", "", "*");
}
@Test
public void testGetCommentsDependencies() throws Exception {
CommentRestImpl commentRestImpl = createMockProjectRest("testFiles/model/sample.xml");
commentRestImpl.getCommentList("sample", "", "", "", "", "*");
Mockito.verify(commentRestImpl.getModelService(), times(0)).getLastModelByProjectId(anyString());
}
private CommentRestImpl createMockProjectRest(String string) throws Exception {
Model model = null;
Project project = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment