Skip to content

Commit 47e7547

Browse files
committed
fix: Fixed broken test
1 parent 93e5326 commit 47e7547

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/campaigns_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def test_given_incorrect_campaign_id_when_calling_schedule_then_type_error_is_re
169169
def test_given_correct_campaign_id_and_schedule_parameters_when_calling_schedule_then_campaign_schedule_is_updated(
170170
self,
171171
):
172-
date = datetime.now() + timedelta(days=2)
173-
date = date.strftime("%Y-%m-%d")
172+
# Use fixed date that matches the VCR cassette recording
173+
date = "2025-09-21"
174174

175175
params = {
176176
"delivery": "scheduled",

0 commit comments

Comments
 (0)