Apache Solr open-source search software
SOLR-12514: Adding a positive testcase also
noble669ca8f283bc
diff --git a/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java b/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.javaindex 37578a9efe7..c643d297538 100644--- a/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java+++ b/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java@@ -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 succeeddelQuery = new UpdateRequest().deleteByQuery("*:*");