Skip to content

Commit 624fb0c

Browse files
committed
Use visible product for search test
1 parent 7e4e3da commit 624fb0c

File tree

1 file changed

+2
-2
lines changed
  • src/app/code/community/IntegerNet/Solr/Test/Model/Indexer

1 file changed

+2
-2
lines changed

src/app/code/community/IntegerNet/Solr/Test/Model/Indexer/Product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ public function saveProductShouldUpdateSolrIndex()
4343
{
4444
$this->setCurrentStore(0);
4545
$this->adminSession();
46-
$productId = 1;
46+
$productId = 21001;
4747
$product = Mage::getModel('catalog/product')->load($productId);
48-
$product->setData('name', 'Product One SUPERDUPER');
48+
$product->setData('name', 'SUPERDUPER');
4949
$product->save();
5050
$searchResponse = $this->searchFor('SUPERDUPER');
5151
$this->assertCount(1, $searchResponse->documents());

0 commit comments

Comments
 (0)