mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8592: quota alert test cases are moved to QuotaAlertManagerImplTest
This commit is contained in:
parent
9c99d036b6
commit
4b249bde43
|
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue