diff --git a/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java b/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java index 6161462f67333..bbea07a10c48d 100644 --- a/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java +++ b/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java @@ -147,7 +147,7 @@ public void testGetIndexWriteRequest() throws Exception { assertEquals(TransportBulkAction.getIndexWriteRequest(docAsUpsertRequest), indexRequest); assertEquals(TransportBulkAction.getIndexWriteRequest(scriptedUpsert), indexRequest); - DeleteRequest deleteRequest = new DeleteRequest("index", "id"); + DeleteRequest deleteRequest = new DeleteRequest("index", "type", "id"); assertNull(TransportBulkAction.getIndexWriteRequest(deleteRequest)); UpdateRequest badUpsertRequest = new UpdateRequest("index", "type", "id1");