Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
4e3584de
Commit
4e3584de
authored
May 11, 2020
by
Piotr Gawron
Browse files
comments require access to model
parent
2a562921
Pipeline
#26521
passed with stage
in 12 minutes and 52 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
rest-api/src/test/java/lcsb/mapviewer/api/projects/comments/CommentRestImplTest.java
View file @
4e3584de
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment