Fix tests and rename one

renommé:         core/lib/Thelia/Tests/ImportExport/Import/ProductPriceImportTest.php -> core/lib/Thelia/Tests/ImportExport/Import/ProductPricesImportTest.php
	modifié:         core/lib/Thelia/Tests/ImportExport/Import/ProductStockImportTest.php
This commit is contained in:
Benjamin Perche
2014-07-21 15:09:09 +02:00
parent 8afbcd322b
commit f83251d31d
2 changed files with 6 additions and 6 deletions

View File

@@ -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 <bperche@openstudio.fr>
*/
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,

View File

@@ -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 <bperche@openstudio.fr>
*/
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,