diff --git a/tests/Feature/UpdateLockReleaseOnTheHostTest.php b/tests/Feature/UpdateLockReleaseOnTheHostTest.php index 67d05ea..e12c0ad 100644 --- a/tests/Feature/UpdateLockReleaseOnTheHostTest.php +++ b/tests/Feature/UpdateLockReleaseOnTheHostTest.php @@ -223,5 +223,9 @@ it('grants the new step in sudoers and raises the contract for it', function () expect($installer)->toContain('release-update-lock)') ->and($installer)->toContain('$HOST_STEP release-update-lock') ->and($installer)->toContain('CONTRACT=3') - ->and($updater)->toContain('HOST_STEP_NEEDS=3'); + // Die gebrauchte Vertragsversion steht seit deploy/lib/release.sh nur + // noch an einer Stelle (release_host_step_needs); update.sh fragt sie + // ab, statt sie ein zweites Mal als Zahl mitzuführen. Siehe + // tests/Feature/HostStepContractTest.php. + ->and($updater)->toContain('release_host_step_needs'); });