Skip to content

Commit

Permalink
Merge branch 'master' into feat/batch-email
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanus3133 committed Jun 7, 2024
2 parents 305d6c8 + a5d3cbf commit 0e54696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openwisp_notifications/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from openwisp_notifications.swapper import load_model, swapper_load_model
from openwisp_notifications.widgets import _add_object_notification_widget
from openwisp_users.admin import UserAdmin
from openwisp_users.tests.utils import TestMultitenantAdminMixin, TestOrganizationMixin
from openwisp_users.tests.utils import TestMultitenantAdminMixin

from .test_helpers import MessagingRequest

Expand Down Expand Up @@ -46,7 +46,7 @@ def pk(self):
op_request.user = MockUser(is_superuser=False)


class BaseTestAdmin(TestOrganizationMixin, TestMultitenantAdminMixin, TestCase):
class BaseTestAdmin(TestMultitenantAdminMixin, TestCase):
def _login_admin(self):
u = User.objects.create_superuser('admin', 'admin', '[email protected]')
self.client.force_login(u)
Expand Down

0 comments on commit 0e54696

Please sign in to comment.