diff --git a/CHANGELOG.md b/CHANGELOG.md index a5e7001..4845d03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased] +## [2.14.7] - 2026-08-11 ### Fixed diff --git a/plugin.xml b/plugin.xml index 21441f1..ee6a54f 100644 --- a/plugin.xml +++ b/plugin.xml @@ -33,6 +33,16 @@ TECLIB' + + 2.14.7 + ~11.0.1 + https://github.com/pluginsGLPI/tag/releases/download/2.14.7/glpi-tag-2.14.7.tar.bz2 + + + 2.12.6 + ~10.0.11 + https://github.com/pluginsGLPI/tag/releases/download/2.12.6/glpi-tag-2.12.6.tar.bz2 + 2.14.6 ~11.0.1 diff --git a/setup.php b/setup.php index 119be69..fac6c7b 100644 --- a/setup.php +++ b/setup.php @@ -39,7 +39,7 @@ use function Safe\define; -define('PLUGIN_TAG_VERSION', '2.14.6'); +define('PLUGIN_TAG_VERSION', '2.14.7'); // Minimal GLPI version, inclusive define("PLUGIN_TAG_MIN_GLPI", "11.0.1"); diff --git a/tests/TagTestCase.php b/tests/TagTestCase.php index d5a5ae5..8018c05 100644 --- a/tests/TagTestCase.php +++ b/tests/TagTestCase.php @@ -59,7 +59,7 @@ public function loginAs(array $credentials): int $DB->update( 'glpi_profilerights', [ - 'rights' => CREATE | UPDATE | PURGE, + 'rights' => READ | CREATE | UPDATE | PURGE, ], [ 'profiles_id' => $user_profile, diff --git a/tests/Units/TagDestinationFieldTest.php b/tests/Units/TagDestinationFieldTest.php index 104d281..9719900 100644 --- a/tests/Units/TagDestinationFieldTest.php +++ b/tests/Units/TagDestinationFieldTest.php @@ -50,6 +50,12 @@ final class TagDestinationFieldTest extends AbstractDestinationFieldTest { use FormTesterTrait; + public function setUp(): void + { + parent::setUp(); + $this->login(); + } + public function testNoTags(): void { $form = $this->createAndGetFormWithMultipleTagQuestions(); diff --git a/tests/Units/TagItemTest.php b/tests/Units/TagItemTest.php index 9dfa204..0a27e12 100644 --- a/tests/Units/TagItemTest.php +++ b/tests/Units/TagItemTest.php @@ -38,6 +38,8 @@ final class TagItemTest extends TagTestCase { public function testTagsFromTicket(): void { + $this->login(); + $tagID1 = $this->createTag('TicketTag1'); $tagID2 = $this->createTag('TicketTag2');