[MM-60152] Fix notifications log file location for Support Packet (#27921)

Этот коммит содержится в:
Ben Schumacher
2024-08-12 14:40:04 +02:00
коммит произвёл GitHub
родитель 7232b5f002
Коммит b5ac317e82
3 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@@ -81,7 +81,7 @@ func TestGetNotificationLogFile(t *testing.T) {
// Enable notifications file but point to an empty directory to get an error trying to read the file
th.Service.UpdateConfig(func(cfg *model.Config) {
*cfg.NotificationLogSettings.EnableFile = true
*cfg.LogSettings.FileLocation = dir
*cfg.NotificationLogSettings.FileLocation = dir
})
logLocation := config.GetNotificationsLogFileLocation(dir)