Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Prevent initialization of empty indices-exists action - test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cihat Keser committed Jul 9, 2013
1 parent 5f8feac commit dda3159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/searchbox/indices/IndicesExistsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class IndicesExistsTest {

@Test
public void indicesExists() {
IndicesExists indicesExists = new IndicesExists.Builder().addIndex("twitter").build();
IndicesExists indicesExists = new IndicesExists.Builder("twitter").build();
assertEquals("HEAD", indicesExists.getRestMethodName());
assertEquals("twitter", indicesExists.getURI());
}
Expand Down

0 comments on commit dda3159

Please sign in to comment.