Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
f73ef15b
Commit
f73ef15b
authored
Jul 25, 2019
by
Piotr Gawron
Browse files
we allow only nonegative ids
parent
5e1475d2
Pipeline
#12086
passed with stage
in 8 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rest-api/src/test/java/lcsb/mapviewer/api/projects/models/parameters/ParametersRestImplTest.java
View file @
f73ef15b
...
...
@@ -29,7 +29,7 @@ public class ParametersRestImplTest extends RestTestFunctions {
@Test
(
expected
=
ObjectNotFoundException
.
class
)
public
void
testGetParameterForNonExistingModel
()
throws
Exception
{
parametersRestImpl
.
getParameter
(
configurationService
.
getConfigurationValue
(
ConfigurationElementType
.
DEFAULT_MAP
),
"
-1
"
,
"
-1
"
);
"
0
"
,
"
0
"
);
}
@Test
(
expected
=
ObjectNotFoundException
.
class
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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