From c8d6161479a38678a3085ffce1a1346b83107e06 Mon Sep 17 00:00:00 2001 From: Luis Felipe Castano Date: Thu, 20 Jun 2024 18:12:12 -0500 Subject: [PATCH] fix: add SITE_ID --- eox_hooks/tests/tutor/integration_test_tutor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eox_hooks/tests/tutor/integration_test_tutor.py b/eox_hooks/tests/tutor/integration_test_tutor.py index 87b804b..7f8ac77 100644 --- a/eox_hooks/tests/tutor/integration_test_tutor.py +++ b/eox_hooks/tests/tutor/integration_test_tutor.py @@ -4,12 +4,12 @@ from django.test import TestCase, override_settings +@override_settings(ALLOWED_HOSTS=['local.edly.io'], SITE_ID=2) class TutorIntegrationTestCase(TestCase): """ Tests integration with openedx """ - @override_settings(ALLOWED_HOSTS=['local.edly.io']) def setUp(self): """ Set up the base URL for the tests