pluck('key')->sort()->values()->all()) ->toBe(['billing', 'info', 'no-reply', 'office', 'support']); }); it('marks no-reply as unanswerable and the rest as answerable', function () { expect(Mailbox::findByKey('no-reply')->no_reply)->toBeTrue() ->and(Mailbox::findByKey('support')->no_reply)->toBeFalse(); }); it('points every purpose at a mailbox, so nothing sends from nowhere', function () { foreach (MailPurpose::ALL as $purpose) { expect(Settings::get(MailPurpose::settingKey($purpose)))->not->toBeNull(); } }); it('no longer offers mail.password as a secret, because it is superseded', function () { expect(SecretVault::REGISTRY)->not->toHaveKey('mail.password'); });