diff --git a/CHANGELOG.md b/CHANGELOG.md
index 516393e..934eb4a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,89 +1,116 @@
+# 12.0.0
+
+- Compatibility with Migration Assistant version 17.
+- Increased the minimum required Migration Assistant version to ~17.0.
+
# 11.0.0
+
- [#34](https://github.com/shopware/SwagMigrationMagento/pull/34) Compatibility with SwagMigrationAssistant version 16 and added error resolution support.
- Removed support for Magento 1.9
- Added new profile for Magento 2.4
# 10.0.0
+
- MIG-1094 - Compatibility with Shopware 6.7.
- MIG-1094 - Increased the minimum required Shopware version to ~6.7.0.
# 9.0.0
+
- Moved technical and breaking changes to https://github.com/shopware/SwagMigrationMagento/blob/trunk/UPGRADE.md
- MIG-1039 - Updated country state conversion to use new methods provided by the migration assistant
- MIG-1071 - Optimized identifier lookup by utilizing new methods provided by the migration assistant
# 8.1.0
+
- MIG-1034 - Fixed country states not being migrated for both customer and order addresses
- MIG-1040 - Media migration now uses the system's temporary directory to download files.
# 8.0.0
-- MIG-919 - Raised and support minimum required migration assistant version ~13.0
+
+- MIG-919 - Raised and support minimum required migration assistant version ~13.0
- MIG-1011 - Ensure database attributes (like stringify fetches) are always set on local gateway connections
# 7.0.0
+
- NTR - Raised and support minimum required migration assistant version ~12.0
# 6.0.1
+
- MIG-974 - Added more countries
- MIG-982 - Added support for migration assistant ~11.0
# 6.0.0
+
- NTR - Support for migration assistant ~10.0
# 5.1.0
+
- NTR - Support for migration assistant ~7.0
# 5.0.0
+
- MIG-859 - Update profile for Shopware 6.5
# 4.0.3
+
- MIG-269 - Fix missing order data for systems where MySQL trigger do not work
# 4.0.2
+
- MIG-241 - Optimize migration of property group options
- MIG-242 - Optimize customer migration
# 4.0.1
+
- MIG-230 - Optimize product property relation migration
- MIG-236 - Optimize guest order customer migration
# 4.0.0
+
- MIG-203 - Shopware 6.4 compatibility
# 3.0.0
+
- MIG-169 - Fix migration of creation date of product reviews
- MIG-188 - Improves media download stability
- MIG-191 - Improves migration of orders
- MIG-194 - Optimizes sales channel migration
# 2.2.1
+
- MIG-120 - Solves an issue when loading the pre-mapping
- MIG-168 - Optimized request options
# 2.2.0
+
- MIG-66 - Improve migration of property product relations
- MIG-101 - Improve migration of sales channels
- MIG-108 - Improve migration of product prices
- MIG-113 - Improve performance of category migration
# 2.1.1
+
- MIG-86 - Removing the password validation when creating a connection
- MIG-88 - Optimization when checking the media file name
- MIG-89 - Improve migration of languages
# 2.1.0
+
- MIG-13 - Migrate product reviews without customer
- MIG-70 - Optimized bounding of custom field sets to products
# 2.0.2
+
- MIG-29 - Solves an issue in pre-mapping when using table prefixes
- MIG-44 - Recognize special prices
- MIG-68 - Optimized rebuilding of container for deactivation and activation of the plugin
# 2.0.1
+
- MIG-67 - Fix composer requirements
# 2.0.0
+
- MIG-1 - Improve migration of category, product, manufacturer and property group translation
- MIG-5 - Improve snippet loading of DataSets
- MIG-7 - Fix migration of order deliveries
@@ -94,54 +121,67 @@
- MIG-26 - Improve migration of configurable products from Magento 2
# 1.5.0
+
- PT-11864 - Improve media file processing
- PT-11923 - Shopware 6.3 compatibility
- PT-11955 - Fixes a problem with saving media
# 1.4.0
+
- PT-11779 - Split store structure based on store groups to sales channels
- PT-11859 - Improve migration of product properties
# 1.3.5
+
- PT-11854 - Optimize category fetching query
# 1.3.4
+
- PT-11778 - Optimize product fetching queries
# 1.3.3
+
- PT-11787 - Add missing query part for table prefixes
# 1.3.2
+
- PT-11722 - Improve sales channel and product converter
- PT-11736 - Improve product base data migration
- PT-11764 - Add sorting of pre-mapping values
# 1.3.1
+
- PT-11658 - Improve customer password encoder for Magento 1
# 1.3.0
+
- PT-11373 - Implement Magento 2.x migration profile
- PT-11618 - Fix error with too many open database connections
- PT-11642 - Solves an issue when migration orders
- PT-11659 - Solves an issue when migration categories with unnamed root category
# 1.2.1
+
- PT-11525 - Optimize media migration process
# 1.2.0
+
- PT-11490 - Improve custom field and property migration
- PT-11533 - Fix guest migrations
# 1.1.2
+
- PT-11464 - Recognizes basic settings of price management in Magento
- PT-11465 - Fixed incorrect migration of min and max purchase
- PT-11468 - Fix seo url reader for categories
- NTR - Fix query missing table prefix
# 1.1.1
+
- NTR - Solves an issue with version compatibility
# 1.1.0
+
- PT-11324 - Migrate product weight
- PT-11347 - Optimize media migration
- PT-11429 - Order categories based on parent (colinmurphy)
@@ -151,6 +191,7 @@
- NTR - Fix custom field migration of selection type without options
# 1.0.0
+
- PT-11183 - Migrate customer passwords
- PT-11251 - Use default number range for magento customers
- PT-11245 - Migrate magento attributes & sets as they are
@@ -163,4 +204,5 @@
- NTR - Improve performance
# 0.9.0
+
- First version of the Shopware Migration Magento profile for Shopware Migration Assistant
diff --git a/CHANGELOG_de-DE.md b/CHANGELOG_de-DE.md
index fa76920..d8819a6 100644
--- a/CHANGELOG_de-DE.md
+++ b/CHANGELOG_de-DE.md
@@ -1,89 +1,116 @@
+# 12.0.0
+
+- Kompatibilität mit Migration Assistant Version 17.
+- Mindestanforderung des Migration Assistant auf ~17.0 erhöht.
+
# 11.0.0
+
- [#34](https://github.com/shopware/SwagMigrationMagento/pull/34) Unterstützung für migration assistant ~16.0 und zusätzliche Unterstützung für die Fehlerbehebung hinzugefügt
- Unterstützung für Magento 1.9 entfernt
- Neues Profil für Magento 2.4 hinzugefügt
# 10.0.0
+
- MIG-1094 - Kompatibilität mit Shopware 6.7.
- MIG-1094 - Mindestanforderung der Shopware-Version auf ~6.7.0 erhöht.
# 9.0.0
+
- Technische Änderungen und Breaking-Changes wurden nach https://github.com/shopware/SwagMigrationMagento/blob/trunk/UPGRADE.md umgezogen
- MIG-1039 - Die Bundesländer werden jetzt über den MigrationAssistent konvertiert
- MIG-1071 - Mapping von IDs optimiert
# 8.1.0
+
- MIG-1034 - Für Kunden- und Bestelladressen werden jetzt auch die Bundesländer migriert
- MIG-1040 - Die Medienmigration verwendet jetzt das temporäre Verzeichnis des Systems zum Herunterladen von Dateien.
# 8.0.0
+
- MIG-919 - Unterstützte und minimum Version des Migration-Assistant auf ~13.0 angehoben
- MIG-1011 - Sicherstellung, dass Datenbankattribute (wie z. B. "stringify fetches") bei lokalen Gateway-Verbindungen immer gesetzt sind
# 7.0.0
+
- NTR - Unterstützte und minimum Version des Migration-Assistant auf ~12.0 angehoben
# 6.0.1
+
- MIG-974 - Mehr Länder hinzugefügt
- MIG-982 - Unterstützung für Migrationsassistent ~11.0 hinzugefügt
# 6.0.0
+
- NTR - Unterstützung der Abhängigkeit Migration-Assistant ~10.0
# 5.1.0
+
- NTR - Unterstützung der Abhängigkeit Migration-Assistant ~7.0
# 5.0.0
+
- MIG-859 - Profil für Shopware 6.5 aktualisiert
# 4.0.3
+
- MIG-269 - Fehlende Daten in der Bestellung korrigiert, für Systeme auf denen MySQL-Trigger nicht funktionieren
# 4.0.2
+
- MIG-241 - Optimiert die Migration von Eigenschaftsoptionen
- MIG-242 - Optimiert die Migration von Kunden
# 4.0.1
+
- MIG-230 - Optimiert die Migration von Produkt-Eigenschaften-Relationen
- MIG-236 - Optimiert die Migration von Gast-Bestellern
# 4.0.0
+
- MIG-203 - Shopware 6.4 compatibility
# 3.0.0
+
- MIG-169 - Behebt ein Problem bei der Migration des Erstelldatums von Produktbewertungen
- MIG-188 - Verbessert die Stabilität des Mediendownloads
- MIG-191 - Verbessert die Migration der Bestellungen
- MIG-194 - Optimiert die Migration von Verkaufskanälen
# 2.2.1
+
- MIG-120 - Behebt ein Problem beim Laden des Premappings
- MIG-168 - Optimiertes Request Handling
# 2.2.0
+
- MIG-66 - Verbessern der Migration der Produkt-Eigenschaft-Relationen
- MIG-101 - Verbessern der Migration der Verkaufskanäle
- MIG-108 - Verbessern der Migration der Produktpreise
- MIG-113 - Verbessern der Performance der Migration von Kategorien
# 2.1.1
+
- MIG-86 - Entfernen der Passortvalidierung beim Erstellen einer Verbindung
- MIG-88 - Optimierung beim Überprüfen des Mediendateinamens
- MIG-89 - Verbessern der Migration von Sprachen
# 2.1.0
+
- MIG-13 - Migration von Produktbewertungen ohne Kunden ermöglichen
- MIG-70 - Optimiertes koppeln der Custom Field Sets an die Produkte
# 2.0.2
+
- MIG-29 - Behebt ein Problem im Pre-Mapping beim Nutzen von Tabellen-Prefixen
- MIG-44 - Berücksichtigt Spezialpreise
- MIG-68 - Optmierte Neugenerierung des Containers bei Aktivierung und Deaktivierung
# 2.0.1
+
- MIG-67 - Behebt ein Problem mit den Composer requirements
# 2.0.0
+
- MIG-1 - Verbessern der Migration von Kategorie-, Produkt, Hersteller- und Eigenschaftsübersetzungen
- MIG-5 - Verbessertes Laden von Snippets der DataSets
- MIG-7 - Behebt ein Problem bei der Migration der Lieferungen
@@ -94,54 +121,67 @@
- MIG-26 - Verbesserung der Migration von konfigurierbaren Produkten aus Magento 2
# 1.5.0
+
- PT-11864 - Verarbeitung der Medien verbessert
- PT-11923 - Kompatibilität für Shopware 6.3
- PT-11955 - Behebt ein Problem beim Speichern der Medien
# 1.4.0
+
- PT-11779 - Aufteilung der Store-Struktur zu Verkaufskanälen basierend auf den Store-Groups
- PT-11859 - Verbessern der Migration von Produkteigenschaften
# 1.3.5
+
- PT-11854 - Optimierte Datenbank-Query zum Migrieren der Kategorien
# 1.3.4
+
- PT-11778 - Optimierte Datenbank-Queries beim Auslesen der Produkte
# 1.3.3
+
- PT-11787 - Fügt einen fehlenden SQL Query Part für Tabellen-Prefixe hinzu
# 1.3.2
+
- PT-11722 - Verbessern der Produkt & Saleschannel Konvertierung
- PT-11736 - Verbessern der Basisproduktdaten-Migration
- PT-11764 - Werte im Datencheck werden jetzt sortiert ausgegeben
# 1.3.1
+
- PT-11658 - Verbessern des Kunden-Passwort-Encoders für Magento 1
# 1.3.0
+
- PT-11373 - Implementierung des Magento 2.x Migrationsprofil
- PT-11618 - Behebt ein Problem mit zu vielen offenen Datenbankverbindungen per CLI
- PT-11642 - Behebt ein Problem bei der Migration von Bestellungen
- PT-11659 - Behebt ein Problem bei der Migration einer unbenannten root Kategorie
# 1.2.1
+
- PT-11525 - Optimiert den Migrationsprozess für Medien
# 1.2.0
+
- PT-11490 - Verbesserung der Migration von Zusatzfeldern und Eigenschaften
- PT-11533 - Behebt ein Problem bei der Migration von Gastbestellern
# 1.1.2
+
- PT-11464 - Berücksichtigt die Grundeinstellung der Preispflege in Magento
- PT-11465 - Behebt ein Problem bei der Migration von minimum und maximum Bestellmengen
- PT-11468 - Behebt ein Problem bei der SEO-Url Migration von Kategorien
- NTR - Behebt ein Problem einer Datenbank-Abfrage ohne Tabellenprefix
# 1.1.1
+
- NTR - Behebt ein Problem mit Versionskompatibilität
# 1.1.0
+
- PT-11324 - Produktgewicht wird nun migriert
- PT-11347 - Optimiert die Medien-Migration
- PT-11429 - Kategoriesortierung angepasst (colinmurphy)
@@ -151,6 +191,7 @@
- NTR - Behebt ein Problem bei der Migration von Custom Fields
# 1.0.0
+
- PT-11183 - Kundenpasswörter migrieren
- PT-11251 - Standard Nummernkreis aus SW6 für Kunden nutzen
- PT-11245 - Migration der Attributsets & Attribute wie im Quellsystem vorhanden
@@ -163,4 +204,5 @@
- NTR - Performanceverbesserung
# 0.9.0
+
- Erste Version des Shopware Migration Magento Profils für den Shopware Migrations-Assistent
diff --git a/UPGRADE.md b/UPGRADE.md
index 9d2446f..13f5c9f 100644
--- a/UPGRADE.md
+++ b/UPGRADE.md
@@ -1,14 +1,20 @@
+# 12.0.0
+
+- [BREAKING] Raised required `swag/migration-assistant` version from `~16.2` to `~17.0`.
+- [BREAKING] Added constructor parameter `MigrationConfiguration $migrationConfig` to `Swag\MigrationMagento\Profile\Magento\Media\LocalMediaProcessor`.
+- Replaced the removed `MediaProcessingProcessor::MEDIA_ERROR_THRESHOLD` constant with `MigrationConfiguration::migrationDefaultExceptionThreshold`.
+
# 11.0.0
- [BREAKING] Made class `Swag\MigrationMagento\Profile\Magento\MediaLocalMediaProcessor` abstract
- [#34](https://github.com/shopware/SwagMigrationMagento/pull/35) - Compatibility with Migration Assistant v16.
- - [BREAKING] Changed return type of `Swag\MigrationMagento\Profile\Magento\Gateway\Connection\ConnectionFactoryInterface::createDatabaseConnection` from `?Connection` to `Connection`. The method now throws `MigrationMagentoException::databaseConnectionError()` instead of returning `null`.
- - [BREAKING] Changed signature of `Swag\MigrationMagento\Profile\Magento19\Gateway\Local\Magento19LocalGateway::supports` from `supports(MigrationContextInterface $migrationContext)` to `supports(ProfileInterface $profile)`.
- - [BREAKING] Changed signature of `Swag\MigrationMagento\Profile\Magento19\Gateway\Local\Magento19LocalGateway::readTotals` from `readTotals(MigrationContextInterface $migrationContext, Context $context)` to `readTotals(MigrationContextInterface $migrationContext)`.
- - [BREAKING] Changed signature of `Swag\MigrationMagento\Profile\Magento2\Gateway\Local\Magento2LocalGateway::readTotals` from `readTotals(MigrationContextInterface $migrationContext, Context $context)` to `readTotals(MigrationContextInterface $migrationContext)`.
- - [BREAKING] Removed class `Swag\MigrationMagento\Migration\Logging\FileHandleErrorLog` without replacement.
- - [BREAKING] Changed type of property `$connection` in `Swag\MigrationMagento\Profile\Magento\Gateway\Local\Reader\AbstractReader` from `?Connection` to `Connection`.
- - [BREAKING] Renamed mapping entity field from `entityUuid` to `entityId` in all mapping usages (aligns with Migration Assistant v16 changes).
+ - [BREAKING] Changed return type of `Swag\MigrationMagento\Profile\Magento\Gateway\Connection\ConnectionFactoryInterface::createDatabaseConnection` from `?Connection` to `Connection`. The method now throws `MigrationMagentoException::databaseConnectionError()` instead of returning `null`.
+ - [BREAKING] Changed signature of `Swag\MigrationMagento\Profile\Magento19\Gateway\Local\Magento19LocalGateway::supports` from `supports(MigrationContextInterface $migrationContext)` to `supports(ProfileInterface $profile)`.
+ - [BREAKING] Changed signature of `Swag\MigrationMagento\Profile\Magento19\Gateway\Local\Magento19LocalGateway::readTotals` from `readTotals(MigrationContextInterface $migrationContext, Context $context)` to `readTotals(MigrationContextInterface $migrationContext)`.
+ - [BREAKING] Changed signature of `Swag\MigrationMagento\Profile\Magento2\Gateway\Local\Magento2LocalGateway::readTotals` from `readTotals(MigrationContextInterface $migrationContext, Context $context)` to `readTotals(MigrationContextInterface $migrationContext)`.
+ - [BREAKING] Removed class `Swag\MigrationMagento\Migration\Logging\FileHandleErrorLog` without replacement.
+ - [BREAKING] Changed type of property `$connection` in `Swag\MigrationMagento\Profile\Magento\Gateway\Local\Reader\AbstractReader` from `?Connection` to `Connection`.
+ - [BREAKING] Renamed mapping entity field from `entityUuid` to `entityId` in all mapping usages (aligns with Migration Assistant v16 changes).
# 10.0.0
@@ -42,7 +48,7 @@
- [BREAKING] Marked `__construct` of class `Swag\MigrationMagento\Profile\Magento\Premapping\TaxReader` as internal.
- [BREAKING] Marked `__construct` of class `Swag\MigrationMagento\Profile\Magento\Premapping\Magento19LocalGateway` as internal.
- [BREAKING] Marked classes `Swag\MigrationMagento\Test\**\*` as internal.
-
+
# 9.0.0
- MIG-1039 - Updated country state conversion to use new methods provided by the migration assistant
@@ -59,7 +65,7 @@
- [BREAKING] Added new constructor parameter `MediaDefaultFolderLookup $mediaFolderLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\ProductConverter`
- [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\PropertyGroupConverter`
- [BREAKING] Added new constructor parameter `CurrencyLookup $currencyLookup`, `LanguageLookup $languageLookup`, `CountryLookup $countryLookup` to `\Swag\MigrationMagento\Profile\Magento\Converter\SalesChannelConverter`
- - [BREAKING] Added new constructor parameter ``, `` to ``
+ - [BREAKING] Added new constructor parameter `, ` to ``
- [BREAKING] Removed method `getMagentoCountryUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryLookup::get()` instead.
- [BREAKING] Removed method `getTransactionStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\TransactionStateLookup::get()` instead.
- [BREAKING] Removed method `getCountryStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryStateLookup::get()` instead.
diff --git a/composer.json b/composer.json
index e530e85..c29e004 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"name": "swag/migration-magento",
"description": "Magento profiles for Shopware Migration Assistant",
- "version": "11.0.0",
+ "version": "12.0.0",
"type": "shopware-platform-plugin",
"license": "MIT",
"authors": [
@@ -11,7 +11,7 @@
],
"require": {
"shopware/core": "~6.7",
- "swag/migration-assistant": "~16.2"
+ "swag/migration-assistant": "~17.0"
},
"extra": {
"shopware-plugin-class": "Swag\\MigrationMagento\\SwagMigrationMagento",
diff --git a/src/DependencyInjection/magento20.xml b/src/DependencyInjection/magento20.xml
index 79b2e73..48dd41c 100644
--- a/src/DependencyInjection/magento20.xml
+++ b/src/DependencyInjection/magento20.xml
@@ -356,6 +356,7 @@
+
diff --git a/src/DependencyInjection/magento21.xml b/src/DependencyInjection/magento21.xml
index d4c97b8..d394e1f 100644
--- a/src/DependencyInjection/magento21.xml
+++ b/src/DependencyInjection/magento21.xml
@@ -349,6 +349,7 @@
+
diff --git a/src/DependencyInjection/magento22.xml b/src/DependencyInjection/magento22.xml
index fa06e2e..8e8b23c 100644
--- a/src/DependencyInjection/magento22.xml
+++ b/src/DependencyInjection/magento22.xml
@@ -349,6 +349,7 @@
+
diff --git a/src/DependencyInjection/magento23.xml b/src/DependencyInjection/magento23.xml
index 8a659a1..b5a9048 100644
--- a/src/DependencyInjection/magento23.xml
+++ b/src/DependencyInjection/magento23.xml
@@ -355,6 +355,7 @@
+
diff --git a/src/DependencyInjection/magento24.xml b/src/DependencyInjection/magento24.xml
index 9e77a1d..072d4c8 100644
--- a/src/DependencyInjection/magento24.xml
+++ b/src/DependencyInjection/magento24.xml
@@ -355,6 +355,7 @@
+
diff --git a/src/Profile/Magento/Media/LocalMediaProcessor.php b/src/Profile/Magento/Media/LocalMediaProcessor.php
index ddc79f4..32bb11d 100644
--- a/src/Profile/Magento/Media/LocalMediaProcessor.php
+++ b/src/Profile/Magento/Media/LocalMediaProcessor.php
@@ -32,7 +32,7 @@
use SwagMigrationAssistant\Migration\Media\MediaProcessWorkloadStruct;
use SwagMigrationAssistant\Migration\Media\Processor\BaseMediaService;
use SwagMigrationAssistant\Migration\Media\SwagMigrationMediaFileCollection;
-use SwagMigrationAssistant\Migration\MessageQueue\Handler\Processor\MediaProcessingProcessor;
+use SwagMigrationAssistant\Migration\MigrationConfiguration;
use SwagMigrationAssistant\Migration\MigrationContextInterface;
#[Package('fundamentals@after-sales')]
@@ -61,6 +61,7 @@ public function __construct(
FileSaver $fileSaver,
LoggingServiceInterface $loggingService,
Connection $dbalConnection,
+ private readonly MigrationConfiguration $migrationConfig,
) {
$this->mediaRepo = $mediaRepo;
$this->fileSaver = $fileSaver;
@@ -438,7 +439,7 @@ static function (MediaProcessWorkloadStruct $work) use ($uuid) {
$mappedWorkload[$uuid]->setAdditionalData($additionalData);
$mappedWorkload[$uuid]->setErrorCount($mappedWorkload[$uuid]->getErrorCount() + 1);
- if ($mappedWorkload[$uuid]->getErrorCount() > MediaProcessingProcessor::MEDIA_ERROR_THRESHOLD) {
+ if ($mappedWorkload[$uuid]->getErrorCount() > $this->migrationConfig->migrationDefaultExceptionThreshold) {
$failureUuids[] = $uuid;
$mappedWorkload[$uuid]->setState(MediaProcessWorkloadStruct::ERROR_STATE);
diff --git a/src/Resources/app/administration/src/init/translation.init.ts b/src/Resources/app/administration/src/init/translation.init.ts
index ad4e67e..e991ed8 100644
--- a/src/Resources/app/administration/src/init/translation.init.ts
+++ b/src/Resources/app/administration/src/init/translation.init.ts
@@ -1,5 +1,5 @@
/**
- * @deprecated tag:v12.0.0 - With Shopware v6.8.0 - `translation.init.ts` will be removed to use automatic language loading with language layer support
+ * @deprecated tag:v13.0.0 - With Shopware v6.8.0 - `translation.init.ts` will be removed to use automatic language loading with language layer support
*/
import deMagentoSnippets from '../app/snippet/de.json';
import enMagentoSnippets from '../app/snippet/en.json';
diff --git a/tests/Profile/Magento/Media/LocalMediaProcessorTest.php b/tests/Profile/Magento/Media/LocalMediaProcessorTest.php
index 2fece27..410ada3 100644
--- a/tests/Profile/Magento/Media/LocalMediaProcessorTest.php
+++ b/tests/Profile/Magento/Media/LocalMediaProcessorTest.php
@@ -25,6 +25,7 @@
use SwagMigrationAssistant\Migration\Media\MediaProcessWorkloadStruct;
use SwagMigrationAssistant\Migration\Media\SwagMigrationMediaFileCollection;
use SwagMigrationAssistant\Migration\Media\SwagMigrationMediaFileDefinition;
+use SwagMigrationAssistant\Migration\MigrationConfiguration;
use SwagMigrationAssistant\Migration\MigrationContext;
use SwagMigrationAssistant\Migration\MigrationContextInterface;
@@ -119,7 +120,7 @@ private function createLocaleMediaProcessor(array $mediaFiles): LocalMediaProces
static::assertTrue(Uuid::isValid($mediaId));
});
- return new class($migrationMediaFileRepo, $mediaFileRepo, $fileSaverMock, $loggerMock, $dbalConnectionMock) extends LocalMediaProcessor {
+ return new class($migrationMediaFileRepo, $mediaFileRepo, $fileSaverMock, $loggerMock, $dbalConnectionMock, new MigrationConfiguration()) extends LocalMediaProcessor {
public function supports(MigrationContextInterface $migrationContext): bool
{
return true;