diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-01 20:14:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-01 20:14:53 +0900 |
| commit | 8261abde3d9fb9ec1d764b912fa5487e4fcd9339 (patch) | |
| tree | 55ebfda66f4394e0185c2de7c4ca9ac973892eb8 /crates/mozart/tests/installer.rs | |
| parent | 1189cecc564c691afeee564203866570fe6928b1 (diff) | |
| download | php-mozart-8261abde3d9fb9ec1d764b912fa5487e4fcd9339.tar.gz php-mozart-8261abde3d9fb9ec1d764b912fa5487e4fcd9339.tar.zst php-mozart-8261abde3d9fb9ec1d764b912fa5487e4fcd9339.zip | |
fix(core): default missing composer.json "name" to __root__
Composer's RootPackageLoader assigns the root name "__root__" when
composer.json omits the "name" field. Mozart was failing deserialization
in that case, blocking any installer fixture with a nameless root
manifest. Apply the same serde default and unignore
update-to-empty-from-blank as the first green entry on the .test
scoreboard.
Diffstat (limited to 'crates/mozart/tests/installer.rs')
| -rw-r--r-- | crates/mozart/tests/installer.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/mozart/tests/installer.rs b/crates/mozart/tests/installer.rs index 5503476..a0e3f25 100644 --- a/crates/mozart/tests/installer.rs +++ b/crates/mozart/tests/installer.rs @@ -765,10 +765,7 @@ installer_fixture!( update_syncs_outdated, ignore = "mozart binary cannot yet run this fixture" ); -installer_fixture!( - update_to_empty_from_blank, - ignore = "mozart binary cannot yet run this fixture" -); +installer_fixture!(update_to_empty_from_blank); installer_fixture!( update_to_empty_from_locked, ignore = "mozart binary cannot yet run this fixture" |
