SOLR-12514: Adding a positive testcase also

This commit is contained in:
noble 2019-01-04 14:56:17 +11:00
parent 663fa0e17f
commit 669ca8f283
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ public class BasicAuthIntegrationTest extends SolrCloudAuthTestCase {
try {
UpdateRequest delQuery = null;
delQuery = new UpdateRequest().deleteByQuery("*:*");
del.setBasicAuthCredentials("harry","HarryIsUberCool");
delQuery.setBasicAuthCredentials("harry","HarryIsUberCool");
delQuery.process(aNewClient, COLLECTION);//this should succeed
delQuery = new UpdateRequest().deleteByQuery("*:*");