Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)

128736 ahind: Merged 5.1.0 (5.1.0.9) to 5.1.N (5.1.2)
      128469 ahind: MNT-16445: Inconsistent behavior of Site File Type Breakdown dashlet in a sharded environment


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128737 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2016-07-12 14:05:39 +00:00
parent 76cbb2f8ff
commit fd8fd1de3c
2 changed files with 25 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ public class SolrQueryHTTPClientTest
SolrQueryHTTPClient client = new SolrQueryHTTPClient();
client.setLanguageMappings(languageMappings);
StatsParameters params = getParameters();
String url = client.buildStatsUrl(params, "http://localhost:8080/solr/alfresco/select", Locale.CANADA_FRENCH);
String url = client.buildStatsUrl(params, "http://localhost:8080/solr/alfresco/select", Locale.CANADA_FRENCH, null);
assertNotNull(url);
assertTrue(url.contains("locale=fr_CA"));
assertTrue(url.contains("sort=contentsize"));