From f83251d31d631bf23fc2a0eb3fe629f09f649171 Mon Sep 17 00:00:00 2001 From: Benjamin Perche Date: Mon, 21 Jul 2014 15:09:09 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20tests=20and=20rename=20one=20=09renomm?= =?UTF-8?q?=C3=A9:=20=20=20=20=20=20=20=20=20core/lib/Thelia/Tests/ImportE?= =?UTF-8?q?xport/Import/ProductPriceImportTest.php=20->=20core/lib/Thelia/?= =?UTF-8?q?Tests/ImportExport/Import/ProductPricesImportTest.php=20=09modi?= =?UTF-8?q?fi=C3=A9:=20=20=20=20=20=20=20=20=20core/lib/Thelia/Tests/Impor?= =?UTF-8?q?tExport/Import/ProductStockImportTest.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...oductPriceImportTest.php => ProductPricesImportTest.php} | 6 +++--- .../Tests/ImportExport/Import/ProductStockImportTest.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename core/lib/Thelia/Tests/ImportExport/Import/{ProductPriceImportTest.php => ProductPricesImportTest.php} (95%) 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,