diff --git a/xwiki-commons-core/xwiki-commons-job/src/test/java/org/xwiki/job/internal/DefaultRequestTest.java b/xwiki-commons-core/xwiki-commons-job/src/test/java/org/xwiki/job/internal/DefaultRequestTest.java
index <HASH>..<HASH> 100644
--- a/xwiki-commons-core/xwiki-commons-job/src/test/java/org/xwiki/job/internal/DefaultRequestTest.java
+++ b/xwiki-commons-core/xwiki-commons-job/src/test/java/org/xwiki/job/internal/DefaultRequestTest.java
@@ -38,7 +38,7 @@ public class DefaultRequestTest
         DefaultRequest request2 = new DefaultRequest(request);
 
         Assert.assertEquals(request.getId(), request2.getId());
-        Assert.assertEquals(request.getProperty("property"), request2.getProperty("property"));
+        Assert.assertEquals(request.getProperty("property"), (String) request2.getProperty("property"));
         Assert.assertEquals(request.isRemote(), request2.isRemote());
         Assert.assertEquals(request.isInteractive(), request2.isInteractive());
     }
[Misc] Don't use the assertEquals (Object[], Object[]) signature which is deprecated