diff --git a/CHANGELOG.md b/CHANGELOG.md index 11524b62..24ab3c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +- Fix form `path` for `tab` `container` + ## [1.23.1] - 2025-11-20 - Fix `add` operations when a linked object already exists before the plugin container fields are created. diff --git a/templates/forms/tab_container.html.twig b/templates/forms/tab_container.html.twig index 1be8116e..40dc850a 100644 --- a/templates/forms/tab_container.html.twig +++ b/templates/forms/tab_container.html.twig @@ -33,7 +33,7 @@
{% if canedit %} -
+ diff --git a/tests/QuestionTypeTestCase.php b/tests/QuestionTypeTestCase.php index b6f9b385..87a8ee80 100644 --- a/tests/QuestionTypeTestCase.php +++ b/tests/QuestionTypeTestCase.php @@ -30,9 +30,9 @@ namespace GlpiPlugin\Field\Tests; -use DbTestCase; use Glpi\Controller\Form\RendererController; use Glpi\Form\Form; +use Glpi\Tests\DbTestCase; use Glpi\Tests\FormTesterTrait; use PluginFieldsContainer; use PluginFieldsField; diff --git a/tests/Units/FieldDestinationFieldTest.php b/tests/Units/FieldDestinationFieldTest.php index c65329e6..9f7805d7 100644 --- a/tests/Units/FieldDestinationFieldTest.php +++ b/tests/Units/FieldDestinationFieldTest.php @@ -36,6 +36,7 @@ use Glpi\Form\Destination\FormDestinationProblem; use Glpi\Form\Form; use Glpi\Form\QuestionType\QuestionTypeShortText; +use Glpi\Tests\AbstractDestinationFieldTest; use Glpi\Tests\FormBuilder; use Glpi\Tests\FormTesterTrait; use GlpiPlugin\Field\Tests\FieldTestTrait; @@ -46,7 +47,6 @@ use PluginFieldsDestinationField; use PluginFieldsQuestionType; use Problem; -use tests\units\Glpi\Form\Destination\CommonITILField\AbstractDestinationFieldTest; use Ticket; use User;