Archived
PAN-11 wrote unit tests for the updateDefinition method
This commit is contained in:
1 parent
6d1db048c8
commit
5a44b5b793
2 files changed
+67
-4
No files matched your search
@@ -117,6 +117,11 @@ public class DefinitionService {
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
if (definition.getId() == 0) {
|
||||
LOG.error("Given invalid id 0, returning {}");
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
LOG.info("Sending request to update definition {}", definition);
|
||||
final Instant start = Instant.now();
|
||||
|
||||
|
||||
Reference in new issue
Block a user