You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by GitBox <gi...@apache.org> on 2022/05/04 14:48:11 UTC

[GitHub] [unomi] jkevan commented on a diff in pull request #410: UNOMI-563 : do not allow to save schema with invalid name

jkevan commented on code in PR #410:
URL: https://github.com/apache/unomi/pull/410#discussion_r864930007


##########
itests/src/test/java/org/apache/unomi/itests/JSONSchemaIT.java:
##########
@@ -130,6 +130,13 @@ public void testSaveNewInvalidJSONSchema() throws IOException {
         }
     }
 
+    @Test
+    public void testSaveSchemaWithInvalidName() throws IOException {
+        assertTrue("JSON schema list should be empty", persistenceService.getAllItems(JsonSchemaEntity.class).isEmpty());

Review Comment:
   probably missing import statement for JsonSchemaEntity.class ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@unomi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org