diff --git a/src/repository/savedVideosRepository.py b/src/repository/savedVideosRepository.py
index 5679d9a..1e63518 100644
--- a/src/repository/savedVideosRepository.py
+++ b/src/repository/savedVideosRepository.py
@@ -80,6 +80,7 @@ def check_favorite_status(db: Session, video_id: str, user_id: str) -> dict:
return {
"statusfavorite": False
}
+
def remove_favorite(db: Session, video_id: str, user_id: str):
video_id = video_id.strip()
user_id = user_id.strip()
diff --git a/tests/junit.xml b/tests/junit.xml
index 93dba4c..60c9578 100644
--- a/tests/junit.xml
+++ b/tests/junit.xml
@@ -1,17 +1 @@
-setup_database = None
-
- def test_remove_from_favorites(setup_database):
- response = client.delete("/api/favorite/video123?user_id=user123")
- print("Response from DELETE:", response.json())
- assert response.status_code == 200
- assert response.json()["message"] == "Removed from favorites"
-
-
- # Check status again to ensure it's removed
- response = client.get("/api/favorite/status/video123?user_id=user123")
- print("Response from GET status:", response.json())
- assert response.status_code == 200
-> assert response.json()["statusfavorite"] is False
-E assert True is False
-
-test_favorite.py:66: AssertionError
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/test_favorite.py b/tests/test_favorite.py
index bf4e9bd..548af40 100644
--- a/tests/test_favorite.py
+++ b/tests/test_favorite.py
@@ -52,7 +52,7 @@ def test_check_favorite(setup_database):
assert response.status_code == 200
assert response.json()["statusfavorite"] is True
-"""def test_remove_from_favorites(setup_database):
+def test_remove_from_favorites(setup_database):
response = client.delete("/api/favorite/video123?user_id=user123")
print("Response from DELETE:", response.json())
assert response.status_code == 200
@@ -63,4 +63,4 @@ def test_check_favorite(setup_database):
response = client.get("/api/favorite/status/video123?user_id=user123")
print("Response from GET status:", response.json())
assert response.status_code == 200
- assert response.json()["statusfavorite"] is False"""
+ assert response.json()["statusfavorite"] is False