diff --git a/core/lib/Thelia/Tests/ImportExport/Import/ProductPriceImportTest.php b/core/lib/Thelia/Tests/ImportExport/Import/ProductPricesImportTest.php similarity index 95% rename from core/lib/Thelia/Tests/ImportExport/Import/ProductPriceImportTest.php rename to core/lib/Thelia/Tests/ImportExport/Import/ProductPricesImportTest.php index 1a6adbbf5..f1a2fb071 100644 --- a/core/lib/Thelia/Tests/ImportExport/Import/ProductPriceImportTest.php +++ b/core/lib/Thelia/Tests/ImportExport/Import/ProductPricesImportTest.php @@ -21,11 +21,11 @@ use Thelia\Tests\Controller\ControllerTestBase; use Thelia\Tests\Controller\ImportExportControllerTrait; /** - * Class ProductPriceImportTest + * Class ProductPricesImportTest * @package Thelia\Tests\ImportExport\Import * @author Benjamin Perche */ -class ProductPriceImportTest extends ControllerTestBase +class ProductPricesImportTest extends ControllerTestBase { /** * Use this method to build the container with the services that you need. @@ -87,7 +87,7 @@ class ProductPriceImportTest extends ControllerTestBase $jsonString = json_encode($jsonData); $this->assertEquals( - "Import successfully done", + "Import successfully done, 3 row(s) have been changed", $this->controller->processImport( $jsonString, $this->import, diff --git a/core/lib/Thelia/Tests/ImportExport/Import/ProductStockImportTest.php b/core/lib/Thelia/Tests/ImportExport/Import/ProductStockImportTest.php index bffb2a640..27c5c18df 100644 --- a/core/lib/Thelia/Tests/ImportExport/Import/ProductStockImportTest.php +++ b/core/lib/Thelia/Tests/ImportExport/Import/ProductStockImportTest.php @@ -19,11 +19,11 @@ use Thelia\Tests\Controller\ControllerTestBase; use Thelia\Tests\Controller\ImportExportControllerTrait; /** - * Class ProductStockControllerTest + * Class ProductStockImportTest * @package Thelia\Tests\ImportExport\Import * @author Benjamin Perche */ -class ProductStockControllerTest extends ControllerTestBase +class ProductStockImportTest extends ControllerTestBase { use ImportExportControllerTrait; @@ -73,7 +73,7 @@ class ProductStockControllerTest extends ControllerTestBase $jsonString = json_encode($jsonData); $this->assertEquals( - "Import successfully done", + "Import successfully done, 3 row(s) have been changed", $this->controller->processImport( $jsonString, $this->import,