diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-16 16:26:21 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-16 17:34:46 +0900 |
| commit | 494f79d0caf614325408d82d5c7a58f9e4396590 (patch) | |
| tree | 5e6256fe40b650b44660cb43232e4da4a6140c29 /crates/shirabe/tests/all_functional_test.rs | |
| parent | 7e7837a559310792dcf312e0c52857450ed781dc (diff) | |
| download | php-shirabe-494f79d0caf614325408d82d5c7a58f9e4396590.tar.gz php-shirabe-494f79d0caf614325408d82d5c7a58f9e4396590.tar.zst php-shirabe-494f79d0caf614325408d82d5c7a58f9e4396590.zip | |
test: correct stale #[ignore] reasons
Running the ignored tests shows several reasons naming a blocker the
test never reaches. The plugin hooks in all_functional_test do run, and
what stops both cases is the worker's Composer\InstalledVersions;
class_loader_test stops at include_file, not class_exists;
auth_helper_test's wrapper is ported and the blocker is trigger_error;
composerRequire is ported as __shirabe_composer_require.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/all_functional_test.rs')
| -rw-r--r-- | crates/shirabe/tests/all_functional_test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/tests/all_functional_test.rs b/crates/shirabe/tests/all_functional_test.rs index f9059927..9ca09dc4 100644 --- a/crates/shirabe/tests/all_functional_test.rs +++ b/crates/shirabe/tests/all_functional_test.rs @@ -265,14 +265,14 @@ fn test_integration_create_project_shows_full_hash_for_dev_packages() { #[test] #[serial] -#[ignore = "requires the Plugin API (PHP plugin Hooks emitting !! markers), which is not yet implemented"] +#[ignore = "the fixture's Hooks read Composer\\InstalledVersions, which is not autoloadable in the plugin worker (the fixture ships no vendor/ directory), so the pre-update hook aborts with `Class \"Composer\\InstalledVersions\" not found`"] fn test_integration_installed_versions() { run_integration("installed-versions.test"); } #[test] #[serial] -#[ignore = "requires the Plugin API (PHP plugin Hooks emitting !! markers), which is not yet implemented"] +#[ignore = "the plugin worker's Composer\\InstalledVersions is only reloaded on a repository write, never seeded from the project's installed.php at boot, so the fixture's plugins fail with `Package \"plugin/a\" is not installed`"] fn test_integration_installed_versions2() { run_integration("installed-versions2.test"); } |
