mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix logs queue tests
This commit is contained in:
@@ -173,7 +173,7 @@ trait Base
|
||||
public static string $GET_CACHE_HEALTH = 'get_cache_health';
|
||||
public static string $GET_TIME_HEALTH = 'get_time_health';
|
||||
public static string $GET_WEBHOOKS_QUEUE_HEALTH = 'get_webhooks_queue_health';
|
||||
public static string $GET_LOGS_QUEUE_HEALTH = 'get_logs_queue_health';
|
||||
public static string $GET_AUDITS_QUEUE_HEALTH = 'get_audits_queue_health';
|
||||
public static string $GET_CERTIFICATES_QUEUE_HEALTH = 'get_certificates_queue_health';
|
||||
public static string $GET_FUNCTION_QUEUE_HEALTH = 'get_functions_queue_health';
|
||||
public static string $GET_LOCAL_STORAGE_HEALTH = 'get_local_storage_health';
|
||||
@@ -1654,9 +1654,9 @@ trait Base
|
||||
size
|
||||
}
|
||||
}';
|
||||
case self::$GET_LOGS_QUEUE_HEALTH:
|
||||
return 'query getLogsQueueHealth {
|
||||
healthGetQueueLogs {
|
||||
case self::$GET_AUDITS_QUEUE_HEALTH:
|
||||
return 'query getAuditsQueueHealth {
|
||||
healthGetQueueAudits {
|
||||
size
|
||||
}
|
||||
}';
|
||||
|
||||
@@ -121,7 +121,7 @@ class HealthTest extends Scope
|
||||
public function testGetLogsQueueHealth()
|
||||
{
|
||||
$projectId = $this->getProject()['$id'];
|
||||
$query = $this->getQuery(self::$GET_LOGS_QUEUE_HEALTH);
|
||||
$query = $this->getQuery(self::$GET_AUDITS_QUEUE_HEALTH);
|
||||
$graphQLPayload = [
|
||||
'query' => $query,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user