diff --git a/server/vbv_lernwelt/api/tests/test_me_api.py b/server/vbv_lernwelt/api/tests/test_me_api.py index 36631f03..a19fdfec 100644 --- a/server/vbv_lernwelt/api/tests/test_me_api.py +++ b/server/vbv_lernwelt/api/tests/test_me_api.py @@ -2,7 +2,9 @@ from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase +from vbv_lernwelt.core.model_utils import add_organisations from vbv_lernwelt.core.models import User +from vbv_lernwelt.shop.model_utils import add_countries class MeUserViewTest(APITestCase): @@ -11,6 +13,8 @@ class MeUserViewTest(APITestCase): "testuser", "test@example.com", "testpassword" ) self.client.login(username="testuser", password="testpassword") + add_organisations() + add_countries() def test_user_can_update_language(self) -> None: # GIVEN