From e5cc80be6ad033963cbf2c3cdbadcba42444d446 Mon Sep 17 00:00:00 2001 From: bernhard Date: Thu, 5 Nov 2020 11:43:05 +0100 Subject: [PATCH] Issue #616: actually call the functions and turn them into subtests --- scripts/test/CommunicationLog/DB.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/test/CommunicationLog/DB.t b/scripts/test/CommunicationLog/DB.t index b473540e0b..370de20669 100644 --- a/scripts/test/CommunicationLog/DB.t +++ b/scripts/test/CommunicationLog/DB.t @@ -106,7 +106,7 @@ sub TestObjectLogDelete { return; } -sub TestObjectLogGet { +sub TestObjectLogGet { my %Param = @_; my $GetRandomPriority = sub { @@ -626,8 +626,8 @@ warn Dumper( $Test, $CommunicationListAfterStop ); } } -$TestObjectLogDelete(); -$TestObjectLogGet(); -$TestObjectLogEntryList(); +subtest 'LogDelete' => \&TestObjectLogDelete; +subtest 'LogGet' => \&TestObjectLogGet; +subtest 'LogEntryList' => \&TestObjectLogEntryList; -$Self->DoneTesting(); +done_testing();