From 4b249bde43dbf051aef1785273a4fdcafbb02957 Mon Sep 17 00:00:00 2001 From: Abhinandan Prateek Date: Mon, 9 Nov 2015 11:28:57 +0530 Subject: [PATCH] CLOUDSTACK-8592: quota alert test cases are moved to QuotaAlertManagerImplTest --- .../org/apache/cloudstack/quota/QuotaStatementTest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/framework/quota/test/org/apache/cloudstack/quota/QuotaStatementTest.java b/framework/quota/test/org/apache/cloudstack/quota/QuotaStatementTest.java index d1dd7589a5b..82db16a8692 100644 --- a/framework/quota/test/org/apache/cloudstack/quota/QuotaStatementTest.java +++ b/framework/quota/test/org/apache/cloudstack/quota/QuotaStatementTest.java @@ -243,12 +243,6 @@ public class QuotaStatementTest extends TestCase { // call real method on send monthly statement Mockito.doCallRealMethod().when(quotaStatement).sendStatement(); - - Calendar cal = Calendar.getInstance(); - cal.setTime(new Date()); - cal.set(Calendar.DATE, 1); // simulate sending statement on 1st of the month - quotaStatement.sendStatement(); - Mockito.verify(emailQuotaAlert, Mockito.times(accounts.size())).sendQuotaAlert(Mockito.any(QuotaAlertManagerImpl.DeferredQuotaEmail.class)); } }