Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
  • Loading branch information
ArwenQin committed Nov 5, 2024
1 parent 541dff8 commit d46f1d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legal-api/tests/unit/core/test_filing.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def test_set_effective(session):

filing.storage.set_processed(legal_type)

# assert that the effective date is the payment date
# assert that the effective date is now, instead of the payment date
assert filing._storage.effective_date
assert filing._storage.effective_date.replace(tzinfo=None) == payment_date.replace(tzinfo=None)
assert filing._storage.effective_date.replace(tzinfo=None) == now.replace(tzinfo=None)
assert not filing.is_future_effective

future_date = now + datedelta.DAY
Expand Down

0 comments on commit d46f1d6

Please sign in to comment.