fix: tests further.

This commit is contained in:
Darshan
2025-01-23 19:35:36 +05:30
parent 00a2413366
commit 3cfd592351
+2 -2
View File
@@ -324,7 +324,7 @@ class UsageTest extends Scope
]
);
$this->assertEquals(25, count($response['body']));
$this->assertEquals(29, count($response['body']));
$this->assertEquals(1, count($response['body']['requests']));
$this->assertEquals($requestsTotal, $response['body']['requests'][array_key_last($response['body']['requests'])]['value']);
$this->validateDates($response['body']['requests']);
@@ -545,7 +545,7 @@ class UsageTest extends Scope
]
);
$this->assertEquals(25, count($response['body']));
$this->assertEquals(29, count($response['body']));
$this->assertEquals(1, count($response['body']['requests']));
$this->assertEquals(1, count($response['body']['network']));
$this->assertEquals($requestsTotal, $response['body']['requests'][array_key_last($response['body']['requests'])]['value']);