Skip to content

Commit

Permalink
missed another tahoe_idp test that needed TAHOE_IDP_CONFIGS
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlandia committed Jun 27, 2023
1 parent 1467fe7 commit 1910b2e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from django.conf import settings
from django.core import mail
from django.test import TestCase
from django.test import override_settings, TestCase
from django.urls import reverse
from unittest.mock import patch

Expand Down Expand Up @@ -37,6 +37,7 @@ def test_successful_email_change_without_idp(self, mock_update_user_email):
'Should not use idp unless explicitly enabled via ENABLE_TAHOE_IDP'
)

@override_settings(TAHOE_IDP_CONFIGS={'API_KEY':'fake', 'BASE_URL': 'http://localhost'})
@patch('tahoe_idp.api.update_user_email')
def test_successful_email_change_with_idp(self, mock_update_user_email):
"""
Expand Down

0 comments on commit 1910b2e

Please sign in to comment.