mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04: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());
|
$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()
|
public function testQuotaInValidRule()
|
||||||
{
|
{
|
||||||
Cache::put($this->account->key, 3000);
|
Cache::put($this->account->key, 3000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user