Skip to content

Commit

Permalink
fix3?
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Dec 16, 2024
1 parent c19bf04 commit 23ead54
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions tests/N98/Magento/Command/Indexer/ReindexAllCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ public function testExecute()
['command' => $command->getName()],
);

$this->assertStringContainsString('Successfully reindexed catalog_product_attribute', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed catalog_product_price', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed catalog_url', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed catalog_product_flat', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed catalog_category_flat', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed catalog_category_product', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed catalogsearch_fulltext', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed cataloginventory_stock', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully reindexed tag_summary', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed catalog_product_attribute', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed catalog_product_price', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed catalog_url', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed catalog_product_flat', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed catalog_category_flat', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed catalog_category_product', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed catalogsearch_fulltext', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed cataloginventory_stock', $commandTester->getDisplay());
$this->assertStringContainsString('Successfully re-indexed tag_summary', $commandTester->getDisplay());
}
}
2 changes: 1 addition & 1 deletion tests/N98/Util/Console/Helper/DatabaseHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function testGetMysqlVariable()
// behavior with existent session variable (INTEGER)
$databaseHelper->getConnection()->query('SET @existent = 14;');
$actual = $databaseHelper->getMysqlVariable('existent', '@');
$this->assertSame(14, $actual);
$this->assertEquals(14, $actual);

// behavior with non-existent session variable
$actual = $databaseHelper->getMysqlVariable('nonexistent', '@');
Expand Down

0 comments on commit 23ead54

Please sign in to comment.