diff --git a/tests/N98/Magento/Command/Indexer/ReindexAllCommandTest.php b/tests/N98/Magento/Command/Indexer/ReindexAllCommandTest.php index cef9ca947..e9a89dc67 100644 --- a/tests/N98/Magento/Command/Indexer/ReindexAllCommandTest.php +++ b/tests/N98/Magento/Command/Indexer/ReindexAllCommandTest.php @@ -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()); } } diff --git a/tests/N98/Util/Console/Helper/DatabaseHelperTest.php b/tests/N98/Util/Console/Helper/DatabaseHelperTest.php index bba9623e9..14bc1d6f8 100644 --- a/tests/N98/Util/Console/Helper/DatabaseHelperTest.php +++ b/tests/N98/Util/Console/Helper/DatabaseHelperTest.php @@ -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->assertSame('14', $actual); // behavior with non-existent session variable $actual = $databaseHelper->getMysqlVariable('nonexistent', '@');