chore: fix realtime test

This commit is contained in:
Christy Jacob
2024-12-18 20:06:24 +05:30
parent d0f04126f3
commit 5a9dbe9c80
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ use Swoole\Runtime;
use Swoole\Table;
use Swoole\Timer;
use Utopia\Abuse\Abuse;
use Utopia\Abuse\Adapters\TimeLimit;
use Utopia\Abuse\Adapters\TimeLimit\Redis as TimeLimitRedis;
use Utopia\App;
use Utopia\Cache\Adapter\Sharding;
use Utopia\Cache\Cache;
@@ -158,9 +158,9 @@ if (!function_exists('getRedis')) {
}
if (!function_exists('getTimelimit')) {
function getTimelimit(): TimeLimit
function getTimelimit(): TimeLimitRedis
{
return new TimeLimit("", 0, 1, getRedis());
return new TimeLimitRedis("", 0, 1, getRedis());
}
}
+1 -1
View File
@@ -6,7 +6,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
stopOnFailure="true"
>
<extensions>
<extension class="Appwrite\Tests\TestHook" />