chore: log full source hostname
This commit is contained in:
@@ -84,6 +84,14 @@ test('settings do not expose deprecated mail login method switch', function ():
|
||||
assert_not_contains('MAIL_LOGIN_METHOD', $config);
|
||||
});
|
||||
|
||||
test('settings do not expose cosmetic target name setting', function (): void {
|
||||
$defaults = Settings::defaults();
|
||||
$config = file_get_contents(PLUGIN_ROOT . '/plugin-settings.conf') ?: '';
|
||||
|
||||
assert_false(array_key_exists('MAIL_LOGIN_TARGET_NAME', $defaults));
|
||||
assert_not_contains('MAIL_LOGIN_TARGET_NAME', $config);
|
||||
});
|
||||
|
||||
test('settings expose disabled plugin flag through access guard', function (): void {
|
||||
$settings = Settings::fromArray(['DEFAULT_ENABLE' => 'false']);
|
||||
assert_false($settings->defaultEnable());
|
||||
|
||||
Reference in New Issue
Block a user