keycloak-uncached

Details

diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/ldap/LDAPBinaryAttributesTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/ldap/LDAPBinaryAttributesTest.java
index 68e98cf..1707aef 100644
--- a/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/ldap/LDAPBinaryAttributesTest.java
+++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/ldap/LDAPBinaryAttributesTest.java
@@ -206,19 +206,8 @@ public class LDAPBinaryAttributesTest {
             // Expected
         }
 
-
-        // Try to update him with some bad value for jpegPhoto. It will fail
-        try {
-            joe.getAttributes().remove("someOtherPhoto");
-            joe.getAttributes().put(LDAPConstants.JPEG_PHOTO, Arrays.asList("foobar"));
-            adminClient.realm("test").users().get(joe.getId()).update(joe);
-            Assert.fail("Not expected to successfully update user");
-        } catch (ClientErrorException cee) {
-            // Expected
-        }
-
-
         // Remove jpegPhoto attribute and assert it was successfully removed
+        joe.getAttributes().remove("someOtherPhoto");
         joe.getAttributes().remove(LDAPConstants.JPEG_PHOTO);
         adminClient.realm("test").users().get(joe.getId()).update(joe);
         getUserAndAssertPhoto("joephoto", false);