Skip to content

Commit

Permalink
@W-14603959 - tsc indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vsbharath committed Dec 11, 2023
1 parent e15f8f6 commit 8f0c2e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metecho/oauth2/salesforce/tests/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from allauth.socialaccount.models import SocialApp
import pytest


@pytest.fixture
def dummy():
app = SocialApp.objects.create(
Expand All @@ -12,12 +13,14 @@ def dummy():
secret="dummy",)
return app


@pytest.mark.django_db
def test_get_auth_params(rf, dummy):
request = rf.get("/")
result = CustomSalesforceProvider(request, dummy).get_auth_params(request, None)
assert "prompt" in result and result["prompt"] == "login"


@pytest.mark.django_db
def test_extract_uid(rf):
request = rf.get("/")
Expand Down

0 comments on commit 8f0c2e4

Please sign in to comment.