Skip to content

Commit f6beb56

Browse files
committed
fix tests
1 parent bec3bee commit f6beb56

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

form_runners_app/consents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from edc_protocol.research_protocol_config import ResearchProtocolConfig
55

66
consent_v1 = ConsentDefinition(
7-
"form_runners_app.subjectconsent",
7+
"form_runners_app.subjectconsentv1",
88
version="1",
99
start=ResearchProtocolConfig().study_open_datetime,
1010
end=ResearchProtocolConfig().study_close_datetime,

form_runners_app/models.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ class SubjectConsent(
5050
version = models.CharField(max_length=10)
5151

5252

53+
class SubjectConsentV1(SubjectConsent):
54+
class Meta:
55+
proxy = True
56+
57+
5358
class OnSchedule(SiteModelMixin, BaseUuidModel):
5459
subject_identifier = models.CharField(max_length=50)
5560

0 commit comments

Comments
 (0)