diff options
Diffstat (limited to 'engagements/tests/conftest.py')
-rw-r--r-- | engagements/tests/conftest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engagements/tests/conftest.py b/engagements/tests/conftest.py index b74feb5..7ccb9ad 100644 --- a/engagements/tests/conftest.py +++ b/engagements/tests/conftest.py @@ -19,13 +19,14 @@ def org(): @pytest.fixture -def engagement_strategy(regulatory_cycles, org): +def engagement_strategy(regulatory_cycles, org, user): es = EngagementStrategy.objects.create( - name="ES1", description="ES1 description", start_year=RegulatoryCycle.objects.get(start_date="2022-01-01"), end_year=RegulatoryCycle.objects.get(start_date="2024-01-01"), organisation=org, + owned_by=user, + reviewed_by=user, management_sign_off="2022-02-10", inspector_sign_off="2022-01-10", status="DRAFT", |