eduNEXT / eox-hooks

GNU Affero General Public License v3.0
3 stars 0 forks source link

feat: add api test #53

Closed luisfelipec95 closed 4 months ago

luisfelipec95 commented 4 months ago

Description

This PR adds validation for the /eox-hooks/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