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:
@@ -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,
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user