mirror of https://github.com/apache/lucene.git
SOLR-12514: Adding a positive testcase also
This commit is contained in:
parent
663fa0e17f
commit
669ca8f283
|
@ -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("*:*");
|
||||
|
|
Loading…
Reference in New Issue