Use correct policy type in test

This commit is contained in:
Martijn van Groningen 2019-10-18 16:57:47 +02:00
parent a56daeae2d
commit 403728dc3d
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class EnrichTransportClientIT extends ESXPackSmokeClientTestCase {
XPackClient xPackClient = new XPackClient(client);
EnrichClient enrichClient = xPackClient.enrichClient();
EnrichPolicy policy = new EnrichPolicy("exact_match", null, Collections.emptyList(), "test", Collections.emptyList());
EnrichPolicy policy = new EnrichPolicy("match", null, Collections.emptyList(), "test", Collections.emptyList());
String policyName = "my-policy";
AcknowledgedResponse acknowledgedResponse = enrichClient.putEnrichPolicy(