From cf0327e64c96a31d9d4bac0be3f54e254490c736 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 31 May 2019 07:19:05 +0100 Subject: [PATCH] Bug 22908: (RMaint follow-up) Correction for tests 18.11.x series does not contain bug 21241 and as such the tests for it are not required. This patch removes those tests but leaves the tests for 22908 intact. Signed-off-by: Martin Renvoize --- t/db_dependent/Suggestions.t | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/t/db_dependent/Suggestions.t b/t/db_dependent/Suggestions.t index a82a88feb1..d7971bd8e9 100644 --- a/t/db_dependent/Suggestions.t +++ b/t/db_dependent/Suggestions.t @@ -197,11 +197,8 @@ is( @$messages, 1, 'ModSuggestion sends an email if the status is updated' ); is( CountSuggestion('CHECKED'), 1, 'CountSuggestion returns the correct number of suggestions' ); - -$mod_suggestion4->{manageddate} = 'invalid date!'; -ModSuggestion($mod_suggestion4); $messages = C4::Letters::GetQueuedMessages({ - borrowernumber => $borrowernumber2 + borrowernumber => $borrowernumber }); is (scalar(@$messages), 1, 'No new letter should have been generated if the update raised an error'); -- 2.20.1