ilgrosso commented on code in PR #1219:
URL: https://github.com/apache/syncope/pull/1219#discussion_r2472192208
##########
core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/AnySearchTest.java:
##########
@@ -1027,6 +1028,26 @@ public void issueSYNCOPE1906() {
assertEquals("bellini", users.get(0).getUsername());
}
+ @Test
+ public void issueSYNCOPE1922() {
+ User bellini = userDAO.findByUsername("bellini").orElseThrow();
+ assertNotNull(bellini);
Review Comment:
This `assertNotNull` is pointless, should be removed
##########
core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/AnySearchTest.java:
##########
@@ -1027,6 +1028,26 @@ public void issueSYNCOPE1906() {
assertEquals("bellini", users.get(0).getUsername());
}
+ @Test
+ public void issueSYNCOPE1922() {
+ User bellini = userDAO.findByUsername("bellini").orElseThrow();
+ assertNotNull(bellini);
+
+ PlainSchema obscureSchema =
plainSchemaDAO.findById("obscure").orElseThrow();
+ assertNotNull(obscureSchema);
Review Comment:
This `assertNotNull` is pointless, should be removed
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]