- π«π·France opi
Thanks @Antoniya for your more generic patch #26, works like a charm !
- Status changed to Needs work
6 months ago 12:39pm 19 December 2023 - πΊπ¦Ukraine kuflievskiy
@rcodina I have also noticed the issue in the tests/src/Functional/MigrateUiFieldGroupTest.php file while executing the tests.
The error I saw is this one:1) Drupal\Tests\field_group_migrate\Functional\MigrateUiFieldGroupTest::testFieldGroupMigrate
Undefined array key "Drupal\sqlite\Driver\Database\sqlite"/var/www/html/web/modules/contrib/field_group/contrib/field_group_migrate/tests/src/Functional/MigrateUiFieldGroupTest.php:135
/var/www/html/web/modules/contrib/field_group/contrib/field_group_migrate/tests/src/Functional/MigrateUiFieldGroupTest.php:157
/var/www/html/web/modules/contrib/field_group/contrib/field_group_migrate/tests/src/Functional/MigrateUiFieldGroupTest.php:59
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728But it seems to be not related to the fix and issue. I have just added
$class_name = substr(strrchr($driver, '\\'), 1); $form = $drivers[$class_name]->getFormOptions($connection_options);
Instead of at line 135 in field_group/contrib/field_group_migrate/tests/src/Functional/MigrateUiFieldGroupTest.php
:$form = $drivers[$driver]->getFormOptions($connection_options);
@rcodina Could you please specify the error you see in the tests? Or could probably someone else test it also?
The patch on #26 works well for me.