Skip to Content
0
Former Member
May 27, 2015 at 01:32 PM

No products obtained from solr when querying from test class

147 Views

Hi experts, I have written an integration test which checks whether products are being retrieved from solr properly or not. I am not getting any products in this test class although products are coming properly in my site. I have set session user -> "anonymous"(N.B : I have tried with admin as well with no effect.) session catalog -> myProductCatalog(Online) current site -> mySite(product catalog for mySite is myProductCatalog ).

Any thoughts?

Regards, Sayantan