fix: read settings from directadmin plugin directory
This commit is contained in:
@@ -15,6 +15,10 @@ test('settings expose secure defaults from plugin-settings.conf', function (): v
|
||||
assert_same('https://mx1.mojserwer.pl:2222', $settings->targetBaseUrl());
|
||||
});
|
||||
|
||||
test('settings runtime file is the directadmin plugin settings file', function (): void {
|
||||
assert_same('/usr/local/directadmin/plugins/mail-login/plugin-settings.conf', Settings::EXTERNAL_SETTINGS);
|
||||
});
|
||||
|
||||
test('settings reject login key ttl outside production range', function (): void {
|
||||
foreach (['4', '301', 'abc'] as $ttl) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user