Prepare auto updates

This commit is contained in:
Jan-Niclas Loosen
2026-11-04 13:51:01 +01:00
parent a066d47bfd
commit 3337a63c5d
15 changed files with 784 additions and 16 deletions
+2
View File
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace LIT\MCP\Tests\Unit;
use LIT\MCP\Plugin;
use LIT\MCP\Updater\GiteaUpdater;
/** The plugin header: version in step with Plugin::VERSION, neutral wording (no chatbot branding). */
final class PluginHeaderTest extends TestCase
@@ -16,5 +17,6 @@ final class PluginHeaderTest extends TestCase
self::assertMatchesRegularExpression('/^ \* Description: .*KI-Assistenten\.$/m', $header);
self::assertStringNotContainsString('claude', strtolower($header));
self::assertStringContainsString(' * Version: ' . Plugin::VERSION . "\n", $header);
self::assertStringContainsString(' * Update URI: ' . GiteaUpdater::REPOSITORY_URL . "\n", $header);
}
}