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

fix: fix failing tests

This commit is contained in:
Christy Jacob 2021-01-02 21:45:14 +05:30
parent d8561d030a
commit 92339fe668
2 changed files with 2 additions and 1 deletions

View file

@ -359,7 +359,7 @@ class Response extends SwooleResponse
*
* @return Filter
*/
public static function getFilter(): Filter
public static function getFilter(): ?Filter
{
return self::$filter;
}

View file

@ -9,6 +9,7 @@ use Appwrite\OpenSSL\OpenSSL;
use Appwrite\Utopia\Response;
use Appwrite\Utopia\Response\Filter\V06;
use PHPUnit\Framework\TestCase;
use Utopia\Config\Config;
class V06Test extends TestCase
{