CLOUDSTACK-8592: quota alert test cases are moved to QuotaAlertManagerImplTest

This commit is contained in:
Abhinandan Prateek 2015-11-09 11:28:57 +05:30
parent 9c99d036b6
commit 4b249bde43
1 changed files with 0 additions and 6 deletions

View File

@ -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));
}
}