Skip to content

Commit

Permalink
Merge branch 'main' into 1358-redact-personalisation-final
Browse files Browse the repository at this point in the history
  • Loading branch information
mchlwellman committed Jan 28, 2025
2 parents 9579de5 + b2f2d31 commit 0fa7611
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def test_remove_opted_out_records_query(notify_db_session, sample_va_profile_loc
# This tests the lambda handler, which calls the stored procedure.
va_profile_remove_old_opt_outs_handler()

# TODO 1636 - This should not be commented out.
# assert notify_db_session.session.get(VAProfileLocalCache, opt_out_id) is None
notify_db_session.session.expire_all()

assert notify_db_session.session.get(VAProfileLocalCache, opt_out_id) is None
assert notify_db_session.session.get(VAProfileLocalCache, opt_out_newer.id) is not None
assert notify_db_session.session.get(VAProfileLocalCache, opt_in.id) is not None

0 comments on commit 0fa7611

Please sign in to comment.