diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-22 19:15:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-22 19:15:27 +0900 |
| commit | ffebc0e87572fead11d4a37bd110dc103b1b7b6b (patch) | |
| tree | bab0038f9eba6f82f2112a217bf5439df5286ae1 /crates/mozart/tests/cli_install.rs | |
| parent | f6dd6914d4ba4b1b5fae1f29992fd1a2b4cd96f5 (diff) | |
| download | php-mozart-ffebc0e87572fead11d4a37bd110dc103b1b7b6b.tar.gz php-mozart-ffebc0e87572fead11d4a37bd110dc103b1b7b6b.tar.zst php-mozart-ffebc0e87572fead11d4a37bd110dc103b1b7b6b.zip | |
fix(test): correct install command expectation when no lock file present
The install command succeeds with a warning when no lock file exists,
rather than failing with a suggestion to run update.
Diffstat (limited to 'crates/mozart/tests/cli_install.rs')
| -rw-r--r-- | crates/mozart/tests/cli_install.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/mozart/tests/cli_install.rs b/crates/mozart/tests/cli_install.rs index 5312956..5ede8a2 100644 --- a/crates/mozart/tests/cli_install.rs +++ b/crates/mozart/tests/cli_install.rs @@ -23,8 +23,8 @@ fn test_install_no_lock_file() { .arg("--working-dir") .arg(project.path()) .assert() - .failure() - .stderr(contains("mozart update")); + .success() + .stderr(contains("No composer.lock file present")); } #[test] |
