mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-20 01:43:57 +00:00
fix: fix codeql issues
This commit is contained in:
committed by
Alexandre Teles (afterSt0rm)
parent
13ee02ae38
commit
b5568db79f
@@ -1,7 +1,7 @@
|
||||
import pytest
|
||||
from sanic import Sanic
|
||||
|
||||
from api.models.socials import ConnectionsResponseModel
|
||||
from api.models.socials import SocialsResponseModel
|
||||
|
||||
from config import api_version
|
||||
|
||||
@@ -12,4 +12,4 @@ from config import api_version
|
||||
async def test_socials(app: Sanic):
|
||||
_, response = await app.asgi_client.get(f"/{api_version}/socials")
|
||||
assert response.status == 200
|
||||
assert ConnectionsResponseModel(**response.json)
|
||||
assert SocialsResponseModel(**response.json)
|
||||
|
||||
Reference in New Issue
Block a user