Update tests to use copy conditions rather than the deprecated fields

Tests that configure approval copying should use copy conditions for
this, rather than the deprecated fields that will be removed soon.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ie222e6d8af2d6568f3bef4e8102a4c1e99fff3d0
diff --git a/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerApprovalCheckTest.java b/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerApprovalCheckTest.java
index 88ff7d0..915a108 100644
--- a/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerApprovalCheckTest.java
+++ b/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerApprovalCheckTest.java
@@ -1755,7 +1755,7 @@
 
     // make the override label sticky
     LabelDefinitionInput input = new LabelDefinitionInput();
-    input.copyAnyScore = true;
+    input.copyCondition = "is:ANY";
     gApi.projects().name(project.get()).label("Owners-Override").update(input);
 
     // Create a change as a user that is not a code owner.