eduNEXT / eox-tenant

Plugin for managing multiple tenants (organizations) within a single Open edX instance.
GNU Affero General Public License v3.0
7 stars 4 forks source link

feat: add api integration test #213

Closed luisfelipec95 closed 4 months ago

luisfelipec95 commented 4 months ago

Description

This PR adds validation for the /eox-tenant/eox-info endpoint in the integration test

How to test

Checks:

Other information

SITE_ID = 2 is used to fix the error: django.contrib.sites.models.Site.DoesNotExist: Site match query does not exist.

When running an instance, SITE_ID is 2, so the setting was overridden so that during testing it also takes the SITE_ID = 2

https://edunext.atlassian.net/browse/DS-993