|
@@ 58-66 (lines=9) @@
|
| 55 |
|
* @Given files with products to be updated are available |
| 56 |
|
* @Given files with products to be deleted are available |
| 57 |
|
*/ |
| 58 |
|
public function filesWithProductsToBeUpdatedAreAvailable() |
| 59 |
|
{ |
| 60 |
|
for ($i = 1; $i < 5; $i++) { |
| 61 |
|
$this->consoleContext->aThirdPartySystemHasCopiedTheFileIntoTheImportFolder( |
| 62 |
|
sprintf('vendor/techdivision/import-sample-data/generic/data/products/add-update/product-import_20161021-161909_0%s.csv', $i), |
| 63 |
|
'var/importexport' |
| 64 |
|
); |
| 65 |
|
} |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* @Given files with products to be replaced are available |
|
@@ 71-79 (lines=9) @@
|
| 68 |
|
/** |
| 69 |
|
* @Given files with products to be replaced are available |
| 70 |
|
*/ |
| 71 |
|
public function filesWithProductsToBeReplacedAreAvailable() |
| 72 |
|
{ |
| 73 |
|
for ($i = 1; $i < 5; $i++) { |
| 74 |
|
$this->consoleContext->aThirdPartySystemHasCopiedTheFileIntoTheImportFolder( |
| 75 |
|
sprintf('vendor/techdivision/import-sample-data/generic/data/products/replace/product-import_20161021-161909_0%s.csv', $i), |
| 76 |
|
'var/importexport' |
| 77 |
|
); |
| 78 |
|
} |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
/** |
| 82 |
|
* @Given the product import process has been started |