From e632d7e4991b39fd9bf4fca65e18b313c4f88b56 Mon Sep 17 00:00:00 2001 From: bernhard Date: Tue, 18 Aug 2020 12:01:56 +0200 Subject: [PATCH 1/2] Issue #272: fix strange HERE document --- scripts/test/SysConfig/SettingUpdate.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/test/SysConfig/SettingUpdate.t b/scripts/test/SysConfig/SettingUpdate.t index d6a5c30d55..e5e4e854bd 100644 --- a/scripts/test/SysConfig/SettingUpdate.t +++ b/scripts/test/SysConfig/SettingUpdate.t @@ -39,7 +39,7 @@ $ConfigObject->Set( Value => 0, ); -my $SetingsXML = << 'EOF', +my $SettingsXML = <<'EOF'; @@ -59,11 +59,11 @@ my $SetingsXML = << 'EOF', EOF - my $SysConfigObject = $Kernel::OM->Get('Kernel::System::SysConfig'); +my $SysConfigObject = $Kernel::OM->Get('Kernel::System::SysConfig'); my $SysConfigXMLObject = $Kernel::OM->Get('Kernel::System::SysConfig::XML'); my @DefaultSettingAddParams = $SysConfigXMLObject->SettingListParse( - XMLInput => $SetingsXML, + XMLInput => $SettingsXML, XMLFilename => 'UnitTest.xml', ); From 96522ff407f9ed5c93a6a079b55a57c73ebf57b1 Mon Sep 17 00:00:00 2001 From: bernhard Date: Tue, 18 Aug 2020 12:22:30 +0200 Subject: [PATCH 2/2] Issze #272: activate the EscalationSuspendStates --- .../EscalationSuspendLoop.t | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/test/Znuny4OTOBOEscalationSuspend/EscalationSuspendLoop.t b/scripts/test/Znuny4OTOBOEscalationSuspend/EscalationSuspendLoop.t index c6fd0e9822..e1add62b57 100644 --- a/scripts/test/Znuny4OTOBOEscalationSuspend/EscalationSuspendLoop.t +++ b/scripts/test/Znuny4OTOBOEscalationSuspend/EscalationSuspendLoop.t @@ -39,6 +39,16 @@ my $TicketObject = $Kernel::OM->Get('Kernel::System::Ticket'); my $QueueObject = $Kernel::OM->Get('Kernel::System::Queue'); my $TimeObject = $Kernel::OM->Get('Kernel::System::Time'); +# for this script activate the default EscalationSuspendStates +$ConfigObject->Set( + Key => 'EscalationSuspendStates', + Value => [ + 'pending auto close+', + 'pending auto close-', + 'pending reminder', + ], +); + # Disable transaction mode for escalation index ticket event module my $TicketEventModulePostConfig = $ConfigObject->Get('Ticket::EventModulePost'); my $EscalationIndexName = '9990-EscalationIndex';