Skip to content

Commit

Permalink
update test consent models
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Mar 26, 2024
1 parent 918ea41 commit 622fcbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data_manager_app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from edc_appointment.models import Appointment
from edc_consent.field_mixins import PersonalFieldsMixin
from edc_consent.field_mixins.identity_fields_mixin import IdentityFieldsMixin
from edc_consent.managers import ConsentObjectsByCdefManager, CurrentSiteByCdefManager
from edc_consent.model_mixins import ConsentModelMixin
from edc_constants.choices import YES_NO
from edc_crf.model_mixins import CrfWithActionModelMixin
Expand Down Expand Up @@ -77,6 +78,9 @@ def natural_key(self):


class SubjectConsentV1(SubjectConsent):
objects = ConsentObjectsByCdefManager()
on_site = CurrentSiteByCdefManager()

class Meta:
proxy = True

Expand Down
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"django.contrib.sites",
"django_crypto_fields.apps.AppConfig",
"django_revision.apps.AppConfig",
"multisite.apps.AppConfig",
"edc_sites.apps.AppConfig",
"edc_appointment.apps.AppConfig",
"edc_action_item.apps.AppConfig",
Expand Down

0 comments on commit 622fcbd

Please sign in to comment.