mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
Fixes for tests
This commit is contained in:
parent
b430908b25
commit
04a9462872
@ -47,6 +47,15 @@ class AccountEmailQuotaTest extends TestCase
|
||||
$this->assertFalse($this->account->emailQuotaExceeded());
|
||||
}
|
||||
|
||||
public function testEmailSentCount()
|
||||
{
|
||||
Cache::put($this->account->key, 3000);
|
||||
|
||||
$count = $this->account->emailsSent();
|
||||
|
||||
$this->assertEquals(3000, $count);
|
||||
}
|
||||
|
||||
public function testQuotaInValidRule()
|
||||
{
|
||||
Cache::put($this->account->key, 3000);
|
||||
|
Loading…
Reference in New Issue
Block a user