Fix RulesIT#testUserPredicate

The rule failed because it was incorrect and not because it tried to
access the index: the ID, email and name were incorrect.

Change-Id: I58576047de17b89b4ecbbefd47b5839c63a03cab
diff --git a/javatests/com/google/gerrit/acceptance/server/rules/RulesIT.java b/javatests/com/google/gerrit/acceptance/server/rules/RulesIT.java
index a4d9acb..bf01a21 100644
--- a/javatests/com/google/gerrit/acceptance/server/rules/RulesIT.java
+++ b/javatests/com/google/gerrit/acceptance/server/rules/RulesIT.java
@@ -73,7 +73,10 @@
   public void testUserPredicate() throws Exception {
     // This test results in a RULE_ERROR as Prolog tries to find accounts by email, using the index.
     // TODO(maximeg) get OK results
-    modifySubmitRules("commit_author(user(1000000), 'John Doe', 'john.doe@example.com')");
+    modifySubmitRules(
+        String.format(
+            "gerrit:commit_author(user(%d), '%s', '%s')",
+            user.getId().get(), user.fullName, user.email));
     assertThat(statusForRule()).isEqualTo(SubmitRecord.Status.RULE_ERROR);
   }