1
0
Fork 0
mirror of synced 2024-06-14 08:44:49 +12:00

fixed test

This commit is contained in:
Damodar Lohani 2022-06-30 09:37:59 +00:00
parent 02f45abcb9
commit 477bc95a00

View file

@ -41,7 +41,7 @@ class UsageTest extends Scope {
$this->assertEquals($email, $res['body']['email']);
$this->assertNotEmpty($res['body']['$id']);
$this->usersCount++;
$this->requestsCount += 2;
$this->requestsCount++;
}
sleep(65);
@ -62,4 +62,11 @@ class UsageTest extends Scope {
$this->assertEquals($this->usersCount, $res['requests'][array_key_last($res['requests'])]['value']);
}
protected function tearDown(): void
{
$this->usersCount = 0;
$this->requestsCount = 0;
$this->projectId = '';
$this->headers = [];
}
}