diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-28 08:32:14 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-28 08:32:14 +0900 |
| commit | 7f84f914b29cf68d045080b430877f4b75367ada (patch) | |
| tree | 6c11c074b8df63319a41b2feb0438f67765a9cd9 /crates/shirabe/tests/common | |
| parent | 9cdc1263000206a42cd069d0125dda8932e0e80d (diff) | |
| download | php-shirabe-7f84f914b29cf68d045080b430877f4b75367ada.tar.gz php-shirabe-7f84f914b29cf68d045080b430877f4b75367ada.tar.zst php-shirabe-7f84f914b29cf68d045080b430877f4b75367ada.zip | |
test(repository): port testRepositoryWritesInstalledPhp
Implement the previously-ignored test, which dumps installed.php via
FilesystemRepository::write and byte-matches the Composer fixture. The
package link setters needed by configureLinks are now reachable through
the __set_provides/__set_replaces test hatches, so the PHP getPackage +
configureLinks shape can be reproduced faithfully.
Also switch both InstallationManager stubs in this file to a single
mockall mock, replacing the hand-rolled impls and call counter.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/common')
0 files changed, 0 insertions, 0 deletions
