1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Fixes for tests

This commit is contained in:
David Bomba 2023-01-18 20:04:53 +11:00
parent b430908b25
commit 04a9462872

View File

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