Skip to content

Commit

Permalink
Merge branch 'release/2.024.25' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
noliveleger committed Jul 31, 2024
2 parents b9754ba + ca0bcc0 commit b255fe2
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions kobo/apps/accounts/tests/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,8 @@
from django.urls import reverse
from rest_framework import status

# TODO Replace this two lines with the two commented out below when merge with
# release 2.024.25
from django.contrib.auth import get_user_model
User = get_user_model()

# from kobo.apps.openrosa.apps.main.models import UserProfile
# from kobo.apps.kobo_auth.shortcuts import User
from kobo.apps.openrosa.apps.main.models import UserProfile
from kobo.apps.kobo_auth.shortcuts import User
from .constants import SOCIALACCOUNT_PROVIDERS


Expand All @@ -30,7 +25,7 @@ def setUp(self):
)

# Will be needed when merged in release/2.024.25
# UserProfile.objects.create(user=testuser)
UserProfile.objects.create(user=testuser)

# Delete any social app that could be added by migration
# `0007_add_providers_from_environment_to_db`
Expand Down

0 comments on commit b255fe2

Please sign in to comment.