mirror of https://github.com/apache/cloudstack.git
quota review fixes
This commit is contained in:
parent
6716c9ab58
commit
88266eb221
|
|
@ -171,7 +171,7 @@ public class QuotaAlertManagerImplTest extends TestCase {
|
|||
Mockito.when(userDao.listByAccount(Mockito.anyLong())).thenReturn(users);
|
||||
|
||||
quotaAlertManager.sendQuotaAlert(email);
|
||||
assertTrue(email.getSendDate().compareTo(new Date())==0);
|
||||
assertTrue(email.getSendDate()!= null);
|
||||
Mockito.verify(emailQuotaAlert, Mockito.times(1)).sendQuotaAlert(Mockito.anyList(), Mockito.anyString(), Mockito.anyString());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue