feat(wpmc S7): vendor Plugin Update Checker v5.6

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Vladimir Bryzgalov
2026-05-17 12:15:44 +05:00
parent 011ccb8dbf
commit c264bc433a
117 changed files with 11220 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace WPMultiCity\Tests;
use PHPUnit\Framework\TestCase as BaseTestCase;
final class UpdateCheckerIntegrationTest extends BaseTestCase
{
private const PLUGIN_ROOT = __DIR__ . '/..';
private const PUC_LOADER = self::PLUGIN_ROOT . '/includes/lib/plugin-update-checker/plugin-update-checker.php';
public function test_puc_loader_exists(): void
{
self::assertFileExists(self::PUC_LOADER);
}
public function test_puc_factory_loadable(): void
{
require_once self::PUC_LOADER;
self::assertTrue(
class_exists('YahnisElsts\\PluginUpdateChecker\\v5\\PucFactory'),
'PucFactory must be loadable after requiring the PUC loader'
);
}
}