mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
fix raw_set and raw_get
This commit is contained in:
@@ -96,8 +96,8 @@ def test_create_invited_user_without_auth_type(
|
||||
admin_request, sample_service, mocker, invitation_email_template
|
||||
):
|
||||
|
||||
mocker.patch("app.service_invite.rest.redis_store.raw_set")
|
||||
mocker.patch("app.service_invite.rest.redis_store.raw_get")
|
||||
mocker.patch("app.service_invite.rest.redis_store.set")
|
||||
mocker.patch("app.service_invite.rest.redis_store.get")
|
||||
mocker.patch("app.celery.provider_tasks.deliver_email.apply_async")
|
||||
email_address = "invited_user@service.gov.uk"
|
||||
invite_from = sample_service.users[0]
|
||||
@@ -220,8 +220,8 @@ def test_resend_expired_invite(
|
||||
mocker,
|
||||
):
|
||||
|
||||
mocker.patch("app.service_invite.rest.redis_store.raw_set")
|
||||
mocker.patch("app.service_invite.rest.redis_store.raw_get")
|
||||
mocker.patch("app.service_invite.rest.redis_store.set")
|
||||
mocker.patch("app.service_invite.rest.redis_store.get")
|
||||
url = f"/service/{sample_expired_user.service_id}/invite/{sample_expired_user.id}/resend"
|
||||
mock_send = mocker.patch("app.service_invite.rest.send_notification_to_queue")
|
||||
mock_persist = mocker.patch("app.service_invite.rest.persist_notification")
|
||||
|
||||
Reference in New Issue
Block a user