Rename the SECRETS_KEY page test to match what it actually checks

It only ever loaded the page and asserted the banner, never a password
save — but its name claimed the crash-on-save case, which is exactly the
promise that let that bug ship unnoticed once. The test that earns the
crash claim is its new neighbour, added for the same finding.
feat/mailboxes
nexxo 2026-07-28 02:24:58 +02:00
parent 67a3e78cb4
commit a9c777c79a
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ it('keeps the old password when the field is left empty', function () {
expect($box->fresh()->password)->toBe('bleibt');
});
it('says so when SECRETS_KEY is missing, instead of crashing on the first password', function () {
it('shows the SECRETS_KEY warning on the page', function () {
config()->set('admin_access.secrets_key', '');
Livewire::actingAs(User::factory()->operator('Owner')->create())