From 5fdb7d8f0275d00aff31d43c3ffef43bbe914661 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 20 May 2009 01:13:50 +0000 Subject: [PATCH] Clean up queued email created when the inbox message is added. --- t/Workflow/Activity/NotifyAboutLowStock.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/Workflow/Activity/NotifyAboutLowStock.t b/t/Workflow/Activity/NotifyAboutLowStock.t index 86566e574..7921a128d 100644 --- a/t/Workflow/Activity/NotifyAboutLowStock.t +++ b/t/Workflow/Activity/NotifyAboutLowStock.t @@ -142,6 +142,7 @@ END { wipeMessages($inbox, $admin); $messages = $inbox->getMessagesForUser($admin); is(scalar @{$messages}, 0, 'Inbox cleaned up'); + $session->db->write("delete from mailQueue where message like '%Threshold=10%'"); } sub wipeMessages {